Update to jQuery 1.9 Beta 1 in trunk (3.6-alpha).
Temporarily includes jQuery in original, unminified form, for ease of testing and bug reporting. jQuery 1.9 introduces a "migrate" script for deprecated and removed behavior. Warnings are issued for methods we should not be using, and should be fixed in core. These warnings are sent to the JavaScript console and are collected in `jQuery.migrateWarnings`. See http://blog.jquery.com/2012/12/17/jquery-1-9-beta-1-released/ for more. props ocean90, see #22975. git-svn-id: http://core.svn.wordpress.org/trunk@23180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -124,7 +124,9 @@ function wp_default_scripts( &$scripts ) {
|
||||
// not used in core, replaced by Jcrop.js
|
||||
$scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop') );
|
||||
|
||||
$scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', array(), '1.8.3' );
|
||||
// jQuery
|
||||
$scripts->add( 'jquery-migrate', '/wp-includes/js/jquery/jquery.js', array(), '1.9.0b1' );
|
||||
$scripts->add( 'jquery', '/wp-includes/js/jquery/jquery-migrate.js', array( 'jquery-migrate' ), '1.0.0b1' );
|
||||
|
||||
// full jQuery UI
|
||||
$scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui/jquery.ui.core.min.js', array('jquery'), '1.9.2', 1 );
|
||||
|
||||
Reference in New Issue
Block a user