Ticket #22896: 22896.patch
File 22896.patch, 561 bytes (added by , 13 years ago) |
---|
-
wp-includes/functions.wp-scripts.php
111 111 $wp_scripts = new WP_Scripts(); 112 112 } 113 113 114 $wp_scripts->remove( $handle ); 114 $_handle = explode( '?', $handle ); 115 if ( is_admin() && 'jquery' == $_handle[0] ) 116 _doing_it_wrong( __FUNCTION__, __( 'jQuery may not be deregistered in the admin.' ), '3.6' ); 117 else 118 $wp_scripts->remove( $handle ); 115 119 } 116 120 117 121 /**