From 023deb3fd2f1a88a2fd8ae170156a3e01673b460 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 22 May 2013 17:12:17 +0000 Subject: [PATCH] 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 --- wp-includes/script-loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 8232734b40..df2382acaa 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -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' );