Title: [Plugin: Comment Validation] jQuery library load
Last modified: August 19, 2016

---

# [Plugin: Comment Validation] jQuery library load

 *  [kirilln](https://wordpress.org/support/users/kirilln/)
 * (@kirilln)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-comment-validation-jquery-library-load/)
 * Hello,
    I’m the author of the TweetBlender plugin that also relies on jQuery.
   On one of the sites where our plugins are used together there were problems and
   I found that your plugin loads jQuery version 1.2.6 (current version is 1.3.2).
 * I suggest that you unbundle jQuery from your plugin. WordPress comes with the
   library already available and is on top of keeping it the latest version.
 * Here is an example of what your code might look like:
 *     ```
       // add javascript with dependency on jQuery to public pages only
       add_action("template_redirect","load_js");
       function load_js() {
       	wp_enqueue_script('jqvalidate', '/' . PLUGINDIR . '/comment-validation/jquery.validate.pack.js', array('jquery'));
               wp_enqueue_script('main', '/' . PLUGINDIR . '/comment-validation/comment-validation.js', array('jquery','jqvalidate'));
       }
       ```
   
 * [http://wordpress.org/extend/plugins/comment-validation/](http://wordpress.org/extend/plugins/comment-validation/)

Viewing 1 replies (of 1 total)

 *  [joern.zaefferer](https://wordpress.org/support/users/joernzaefferer/)
 * (@joernzaefferer)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-comment-validation-jquery-library-load/#post-1252276)
 * I’ve released version 0.4, which should fix this issue. It doesn’t bundle jQuery
   anymore and uses wp_enqueue_script.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Comment Validation] jQuery library load’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [joern.zaefferer](https://wordpress.org/support/users/joernzaefferer/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-comment-validation-jquery-library-load/#post-1252276)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
