Add jQuery version to wp_register_script
This commit is contained in:
@@ -30,7 +30,7 @@ function roots_scripts() {
|
|||||||
// It's kept in the header instead of footer to avoid conflicts with plugins.
|
// It's kept in the header instead of footer to avoid conflicts with plugins.
|
||||||
if (!is_admin()) {
|
if (!is_admin()) {
|
||||||
wp_deregister_script('jquery');
|
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')) {
|
if (is_single() && comments_open() && get_option('thread_comments')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user