Add the jQuery version to the 'jquery' script alias
* Allows people to check it and get the right result see #22975. props aaroncampbell. git-svn-id: http://core.svn.wordpress.org/trunk@24314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d306a85654
commit
023deb3fd2
|
@ -132,7 +132,7 @@ 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' ) );
|
||||
$scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.9.1' );
|
||||
$scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.9.1' );
|
||||
$scripts->add( 'jquery-migrate', '/wp-includes/js/jquery/jquery-migrate.js', array(), '1.2.1' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue