You’re using an odd constant in the index.php file of your plugin to check for jQuery. You should be using
wp_script_is( 'jquery' )to check for the registered version of jQuery in WordPress.
Also if you just added jquery as a requirement of your JS on line 51 then it would be loaded before your plugin. That would negate the whole check for jQuery thing.
- The topic ‘Debug Notice’ is closed to new replies.