Add jQuery version to wp_register_script

This commit is contained in:
Ben Word
2012-09-06 19:36:44 -05:00
parent c9e4ef6f2f
commit 580d3f26d1

View File

@@ -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', '', '', '', false);
wp_register_script('jquery', '', '', '1.8.1', false);
}
if (is_single() && comments_open() && get_option('thread_comments')) {