WordPress.org

Make WordPress Core

Ticket #16511: ui-deps.diff

File ui-deps.diff, 1.3 KB (added by scribu, 4 years ago)
  • wp-includes/script-loader.php

     
    126126        $scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.8.9' ); 
    127127        $scripts->add_data( 'jquery-ui-core', 'group', 1 ); 
    128128 
    129         $scripts->add( 'jquery-ui-position', '/wp-includes/js/jquery/ui.position.js', array('jquery'), '1.8.9' ); 
     129        $scripts->add( 'jquery-ui-position', '/wp-includes/js/jquery/ui.position.js', array('jquery-ui-core'), '1.8.9' ); 
    130130        $scripts->add_data( 'jquery-ui-position', 'group', 1 ); 
    131131 
    132         $scripts->add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui.widget.js', array('jquery'), '1.8.9' ); 
     132        $scripts->add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui.widget.js', array('jquery-ui-core'), '1.8.9' ); 
    133133        $scripts->add_data( 'jquery-ui-widget', 'group', 1 ); 
    134134 
    135         $scripts->add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui.mouse.js', array('jquery', 'jquery-ui-widget'), '1.8.9' ); 
     135        $scripts->add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui.mouse.js', array('jquery-ui-widget'), '1.8.9' ); 
    136136        $scripts->add_data( 'jquery-ui-mouse', 'group', 1 ); 
    137137 
    138138        $scripts->add( 'jquery-ui-button', '/wp-includes/js/jquery/ui.button.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.9' );