Incorrect Enqueuing of jQuery
-
Your current version (1.4) of your plugin incorrectly enqueues jQuery – on line #124 you are wp_register_script of jQuery. jQuery is available as a standard library on WordPress. To accomplish your goal – that should be a wp_enqueue_script. wp_register_script is used to tell WordPress where to find a library and requires a second parameter pointing to the library.
This is a non-fatal error but it is clearly visible if wp_debug is true.
- The topic ‘Incorrect Enqueuing of jQuery’ is closed to new replies.