After upgrading WP from 3.3 to 3.4 wp_deregister_script(‘jquery’); seems to not work anymore (jQuery provided by WP is visible in section).
Deregister script is included in functions.php file of my theme and looks like this:
if( !is_admin()){
wp_deregister_script('jquery');
}
After the upgrade I was trying to custom this, but nothing actually works. For example, i also tried to dequeue the script, but still no go.
if( !is_admin()){
wp_deregister_script('jquery');
wp_dequeue_script('jquery');
}
Looking forward your opinions and any idea of possible solution.
Use
hookto do thatAbout wp_register_script.