I second this, 1.4.4 isn’t even close to being current.
Couldn’t you just use http://code.jquery.com/jquery.min.js so that it will always be the latest version of jQuery?
I third that. Better even to just default to the current version installed with WP.
If you need a minimum version of jQuery, check if the WP jquery version complies, if not – AND ONLY IF NOT – load the required version in another way.
It is not the best solution, but Comment out following code from line 189-194 in j-shortcodes.php. It works and load WordPress 3.5.1 default jquery, instead of hardcoded ancient 1.4.4 which creates conflicts.
$jquery_version = "1.4.4";
$jquery_ui_version = "1.8.9";
wp_deregister_script ('jquery'); // using wp_deregister_script() to disable the version that comes packaged with WordPress
wp_register_script ('jquery', "http://ajax.googleapis.com/ajax/libs/jquery/{$jquery_version}/jquery.min.js"); // using wp_register_script() to register updated libraries (this example uses the CDN from Google but you can use any other CDN or host the scripts yourself)
wp_enqueue_script ('jquery'); // using wp_enqueue_script() to load the updated libraries
Change to:
// $jquery_version = "1.4.4";
// $jquery_ui_version = "1.8.9";
// wp_deregister_script ('jquery'); // using wp_deregister_script() to disable the version that comes packaged with WordPress
// wp_register_script ('jquery', "http://ajax.googleapis.com/ajax/libs/jquery/{$jquery_version}/jquery.min.js"); // using wp_register_script() to register updated libraries (this example uses the CDN from Google but you can use any other CDN or host the scripts yourself)
// wp_enqueue_script ('jquery'); // using wp_enqueue_script() to load the updated libraries
If you do so, then don’t forget to also comment out the three lines after the if statement just below it:
/* wp_deregister_script ('jquery-ui-core');
wp_deregister_script ('jquery-ui-tabs');
wp_register_script ('jquery-ui-core', "http://ajax.googleapis.com/ajax/libs/jqueryui/{$jquery_ui_version}/jquery-ui.min.js");
*/
@jrf
Actually I did that… sorry I overlooked to post that here. Thanks for correction.