Make WordPress Core

Changeset 24314


Ignore:
Timestamp:
05/22/2013 05:12:17 PM (11 years ago)
Author:
markjaquith
Message:

Add the jQuery version to the 'jquery' script alias

  • Allows people to check it and get the right result

see #22975. props aaroncampbell.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r24259 r24314  
    133133
    134134    // jQuery
    135     $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ) );
     135    $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.9.1' );
    136136    $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.9.1' );
    137137    $scripts->add( 'jquery-migrate', '/wp-includes/js/jquery/jquery-migrate.js', array(), '1.2.1' );
Note: See TracChangeset for help on using the changeset viewer.