Make WordPress Core

Ticket #37110: 37110-add-dependency.diff

File 37110-add-dependency.diff, 791 bytes (added by desrosj, 4 years ago)
  • src/wp-includes/script-loader.php

     
    721721        // jQuery.
    722722        $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', array(), '1.12.4-wp' );
    723723        $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.12.4-wp' );
    724         $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.4.1' );
     724        $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array( 'jquery' ), '1.4.1' );
    725725
    726726        // Full jQuery UI.
    727727        $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array( 'jquery' ), '1.11.4', 1 );