WordPress.org

Make WordPress Core

Ticket #39784: 39784.patch

File 39784.patch, 691 bytes (added by rellect, 4 years ago)
  • script-loader.php

     
    421421
    422422        $scripts->add( 'user-suggest', "/wp-admin/js/user-suggest$suffix.js", array( 'jquery-ui-autocomplete' ), false, 1 );
    423423
    424         $scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", array(), false, 1 );
     424        $scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", array( 'jquery' ), false, 1 );
    425425
    426426        $scripts->add( 'wplink', "/wp-includes/js/wplink$suffix.js", array( 'jquery', 'wp-a11y' ), false, 1 );
    427427        did_action( 'init' ) && $scripts->localize( 'wplink', 'wpLinkL10n', array(