Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Enqueue jquery for TypeError: $.browser is undefined issue

add_action( 'wp_enqueue_scripts', 'patch_jquery_migrate' );
function patch_jquery_migrate() {
    wp_deregister_script('jquery-migrate');
    wp_register_script('jquery-migrate', ("http://code.jquery.com/jquery-migrate-1.0.0.js"), false, null);
    wp_enqueue_script( 'jquery-migrate' );
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Enqueue #jquery #undefined #issue
ADD COMMENT
Topic
Name
7+7 =