Return to Snippet

Revision: 58613
at July 25, 2012 02:39 by i-am-andy


Initial Code
if( !is_admin()){
 
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"), false, '1.7.2');
wp_enqueue_script('jquery');
}

Initial URL
http://www.kevinleary.net/always-load-latest-version-jquery-wordpress/

Initial Description
Load latest version of jQuery from Google Libraries API and de-register Wordpress version

Initial Title
Load latest version of jQuery from Google Libraries API and de-register Wordpress version

Initial Tags
php, wordpress, jquery

Initial Language
CSS