WordPress.org

Make WordPress Core

Changeset 23183


Ignore:
Timestamp:
12/18/12 00:56:27 (3 years ago)
Author:
nacin
Message:

Have the 'jquery' script handle be a parent of both jQuery core and jQuery Migrate. see #22975.

File:
1 edited

Legend:

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

    r23180 r23183  
    126126 
    127127    // jQuery 
    128     $scripts->add( 'jquery-migrate', '/wp-includes/js/jquery/jquery.js', array(), '1.9.0b1' ); 
    129     $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery-migrate.js', array( 'jquery-migrate' ), '1.0.0b1' ); 
     128    $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ) ); 
     129    $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.9.0b1' ); 
     130    $scripts->add( 'jquery-migrate', '/wp-includes/js/jquery/jquery-migrate.js', array(), '1.0.0b1' ); 
    130131 
    131132    // full jQuery UI 
Note: See TracChangeset for help on using the changeset viewer.