mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 04:04:35 +00:00
External Libraries: Update jQuery to 1.12.0 and jQuery Migrate to 1.3.0.
jQuery: * Release post: http://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/ * Changes: https://github.com/jquery/jquery/compare/1.11.3...1.12.0 jQuery Migrate: * Release post: http://blog.jquery.com/2016/01/13/jquery-migrate-1-3-0-released/ * Changes: https://github.com/jquery/jquery-migrate/compare/1.2.1...1.3.0 See #35380. git-svn-id: https://develop.svn.wordpress.org/trunk@36285 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -184,9 +184,9 @@ function wp_default_scripts( &$scripts ) {
|
||||
$scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop') );
|
||||
|
||||
// jQuery
|
||||
$scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.11.3' );
|
||||
$scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.11.3' );
|
||||
$scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.2.1' );
|
||||
$scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.12.0' );
|
||||
$scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.12.0' );
|
||||
$scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.3.0' );
|
||||
|
||||
// full jQuery UI
|
||||
$scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array('jquery'), '1.11.4', 1 );
|
||||
|
||||
Reference in New Issue
Block a user