FAILURE to properly enqueue JS
-
Please review the proper method for enqueueing JS in WordPress.
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
NEVER EVER EVER hardcode jQuery into your plugin! This breaks all kinds of things and is bad practice. WordPress makes it so incredibly easy to enqueue the scripts you need and declare their dependencies that there’s absolutely no excuse for poor coding like this.
- The topic ‘FAILURE to properly enqueue JS’ is closed to new replies.