mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
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: http://core.svn.wordpress.org/trunk@24781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b9eb340af
commit
42572a9543
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
|
// jQuery
|
||||||
$scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.10.2' );
|
$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-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
|
// full jQuery UI
|
||||||
$scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.10.3', 1 );
|
$scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.10.3', 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user