WordPress.org

Make WordPress Core

Ticket #15622: 15622.diff

File 15622.diff, 693 bytes (added by ryan, 7 years ago)
  • wp-includes/script-loader.php

     
    439439                ) );
    440440
    441441                // Navigation Menus
    442                 $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", false, '20100814' );
     442                $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array('jquery-ui-sortable'), '20100814' );
    443443                $scripts->localize( 'nav-menu', 'navMenuL10n', array(
    444444                        'noResultsFound' => _x('No results found.', 'search results'),
    445445                        'warnDeleteMenu' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ),