4.1 bug
-
I use the following code key
function modify_jquery() {
if (!is_admin()) {
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, ‘//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js’, false, ‘1.11.2’, false);
wp_enqueue_script(‘jquery’);
}
}
add_action(‘init’, ‘modify_jquery’);in theme functions.php
, there were no problem in 3.9 version , but after update up to 4.1 version it stopped working
//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js
after
/ajax/libs/jquery/1.11.2/jquery.min.js
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘4.1 bug’ is closed to new replies.