Please use dashes '-' instead of '_' or '.' for handlers and remove the extension.

I got an item in soft rejection “Please use dashes ‘-’ instead of ‘_’ or ‘.’ for handlers and remove the extension.”
The notice dont provide any examples or screenshots.

I can understand that and when i asked, moderator didnt answer.

  1. What is a handler in WP?
  2. What is an extension in WP?

Can someone explain it? Appreciate your help.

Best regards

wp_enqueue_script( ‘ki_scripts’, get_template_directory_uri() . ‘/js/ki-scripts.js’, array( ‘jquery’ ), ‘1.0’, true );
Change ki_scripts to ki-scripts

3 Likes

Thank you very much!