Use production version of jQuery Migrate when not SCRIPT_DEBUG, which silences issues.
Minify jQuery as well. These were both unminified for ease of debugging. fixes #24821. git-svn-id: https://develop.svn.wordpress.org/trunk@24781 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0f052ef6af
commit
499cfdb81d
2
wp-includes/js/jquery/jquery-migrate.min.js
vendored
Normal file
2
wp-includes/js/jquery/jquery-migrate.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9796
wp-includes/js/jquery/jquery.js
vendored
9796
wp-includes/js/jquery/jquery.js
vendored
File diff suppressed because one or more lines are too long
@ -135,7 +135,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
// jQuery
|
||||
$scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.10.2' );
|
||||
$scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.10.2' );
|
||||
$scripts->add( 'jquery-migrate', '/wp-includes/js/jquery/jquery-migrate.js', array(), '1.2.1' );
|
||||
$scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.2.1' );
|
||||
|
||||
// full jQuery UI
|
||||
$scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.10.3', 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user