WordPress.org

Make WordPress Core

Ticket #47069: 47069.7.diff

File 47069.7.diff, 705 bytes (added by afercia, 21 months ago)
  • src/wp-includes/script-loader.php

     
    14901490
    14911491        $scripts->add( 'user-suggest', "/wp-admin/js/user-suggest$suffix.js", array( 'jquery-ui-autocomplete' ), false, 1 );
    14921492
    1493         $scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", array(), false, 1 );
     1493        $scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", array( 'jquery' ), false, 1 );
    14941494
    14951495        $scripts->add( 'wplink', "/wp-includes/js/wplink$suffix.js", array( 'jquery', 'wp-a11y' ), false, 1 );
    14961496        did_action( 'init' ) && $scripts->localize(