Update to jQuery 1.8.2

This commit is contained in:
Scott Walkinshaw
2012-09-21 08:32:07 -06:00
parent 671cb95ebc
commit 81d1c8dd9e
8 changed files with 12 additions and 11 deletions

View File

@@ -142,7 +142,7 @@ AddType application/x-shockwave-flash swf
# ----------------------------------------------------------------------
# e.g. Inside of script.combined.js you could have
# <!--#include file="libs/jquery-1.5.0.min.js" -->
# <!--#include file="libs/jquery-1.8.2.min.js" -->
# <!--#include file="plugins/jquery.idletimer.js" -->
# and they would be included into this single file.
@@ -582,4 +582,4 @@ AddCharset utf-8 .css .js .xml .json .rss .atom
php_value session.cookie_httponly true
</IfModule>
# END HTML5 Boilerplate
# END HTML5 Boilerplate

View File

@@ -10,7 +10,7 @@
*
* Enqueue scripts in the following order:
* 1. /theme/assets/js/vendor/modernizr-2.6.2.min.js (in head.php)
* 2. jquery-1.8.1.min.js via Google CDN (in head.php)
* 2. jquery-1.8.2.min.js via Google CDN (in head.php)
* 3. /theme/assets/js/plugins.js
* 4. /theme/assets/js/main.js
*/
@@ -30,7 +30,7 @@ function roots_scripts() {
// It's kept in the header instead of footer to avoid conflicts with plugins.
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', '', '', '1.8.1', false);
wp_register_script('jquery', '', '', '1.8.2', false);
}
if (is_single() && comments_open() && get_option('thread_comments')) {