Make WordPress Core

Changeset 13269


Ignore:
Timestamp:
02/21/2010 12:10:20 AM (15 years ago)
Author:
ryan
Message:

Use core jQuery UI. see #11817

Location:
trunk
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-navigation.php

    r13268 r13269  
    1515wp_admin_css( 'custom-navigation' );
    1616wp_enqueue_script( 'jquery' );
    17 wp_enqueue_script( 'custom-navigation-ui-custom' );
     17wp_enqueue_script( 'jquery-ui-draggable' );
     18wp_enqueue_script( 'jquery-ui-droppable' );
     19wp_enqueue_script( 'jquery-ui-sortable' );
     20wp_enqueue_script( 'jquery-ui-dialog' );
    1821wp_enqueue_script( 'custom-navigation-dynamic-functions' );
    1922wp_enqueue_script( 'custom-navigation-default-items' );
    2023wp_enqueue_script( 'jquery-autocomplete' );
    2124wp_enqueue_script( 'custom-navigation-php-functions' );
    22 wp_enqueue_script( 'jquery-ui-dialog' );
     25
    2326
    2427require_once('admin-header.php');
  • trunk/wp-includes/script-loader.php

    r13268 r13269  
    397397        ) );
    398398
     399        // Custom Navigation
     400        $scripts->add( 'custom-navigation-default-items', "/wp-admin/js/custom-navigation-default-items$suffix.js", false, '20100220' );
     401        $scripts->add( 'custom-navigation-dynamic-functions', "/wp-admin/js/custom-navigation-dynamic-functions$suffix.js", false, '20100220' );
     402        $scripts->add( 'custom-navigation-php-functions', "/wp-admin/js/custom-navigation-php-functions$suffix.js", false, '20100220' );
    399403    }
    400 
    401     //Custom Navigation
    402 
    403     $scripts->add( 'custom-navigation-ui-custom', '/wp-admin/js/custom-navigation-custom-jquery-ui-1.7.2.js', array('jquery'), '1.7.2' );
    404     $scripts->add_data( 'custom-navigation-ui-custom', 'group', 1 );
    405 
    406     $scripts->add( 'custom-navigation-default-items', "/wp-admin/js/custom-navigation-default-items$suffix.js", false, '20100220' );
    407     $scripts->add( 'custom-navigation-dynamic-functions', "/wp-admin/js/custom-navigation-dynamic-functions$suffix.js", false, '20100220' );
    408     $scripts->add( 'custom-navigation-php-functions', "/wp-admin/js/custom-navigation-php-functions$suffix.js", false, '20100220' );
    409 
    410404}
    411405
Note: See TracChangeset for help on using the changeset viewer.