Update to jQuery 1.9.0

This commit is contained in:
Ben Word
2013-01-15 12:23:43 -06:00
8 changed files with 16 additions and 10 deletions

View File

@@ -7,8 +7,9 @@
*
* Enqueue scripts in the following order:
* 1. /theme/assets/js/vendor/modernizr-2.6.2.min.js (in head.php)
* 2. jquery-1.8.3.min.js via Google CDN (in head.php)
* 3. /theme/assets/js/scripts.min.js
* 2. jquery-1.9.0.min.js via Google CDN (in head.php)
* 3. /theme/assets/js/plugins.js
* 4. /theme/assets/js/main.js
*/
function roots_scripts() {
@@ -16,7 +17,7 @@ function roots_scripts() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', '', '', '1.8.3', false);
wp_register_script('jquery', '', '', '1.9.0', false);
}
if (is_single() && comments_open() && get_option('thread_comments')) {