Changeset 13402
- Timestamp:
- 02/25/2010 05:10:00 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/nav-menus.php
r13400 r13402 15 15 wp_die( __( 'Cheatin’ uh?' )); 16 16 17 wp_admin_css( ' custom-navigation' );17 wp_admin_css( 'nav-menu' ); 18 18 wp_enqueue_script( 'jquery' ); 19 19 wp_enqueue_script( 'jquery-ui-draggable' ); … … 21 21 wp_enqueue_script( 'jquery-ui-sortable' ); 22 22 wp_enqueue_script( 'jquery-ui-dialog' ); 23 wp_enqueue_script( ' custom-navigation-dynamic-functions' );24 wp_enqueue_script( ' custom-navigation-default-items' );23 wp_enqueue_script( 'nav-menu-dynamic-functions' ); 24 wp_enqueue_script( 'nav-menu-default-items' ); 25 25 wp_enqueue_script( 'jquery-autocomplete' ); 26 wp_enqueue_script( ' custom-navigation-php-functions' );26 wp_enqueue_script( 'nav-menu-php-functions' ); 27 27 28 28 require_once( 'admin-header.php' ); -
trunk/wp-includes/script-loader.php
r13395 r13402 398 398 399 399 // Custom Navigation 400 $scripts->add( ' custom-navigation-default-items', "/wp-admin/js/custom-navigation-default-items$suffix.js", false, '20100223' );401 $scripts->add( ' custom-navigation-dynamic-functions', "/wp-admin/js/custom-navigation-dynamic-functions$suffix.js", false, '20100224b' );402 $scripts->localize( ' custom-navigation-dynamic-functions', 'navMenuL10n', array(400 $scripts->add( 'nav-menu-default-items', "/wp-admin/js/nav-menu-default-items$suffix.js", false, '20100223' ); 401 $scripts->add( 'nav-menu-dynamic-functions', "/wp-admin/js/nav-menu-dynamic-functions$suffix.js", false, '20100224b' ); 402 $scripts->localize( 'nav-menu-dynamic-functions', 'navMenuL10n', array( 403 403 'custom' => _x('Custom', 'menu nav item type'), 404 404 'page' => _x('Page', 'menu nav item type'), … … 406 406 ) ); 407 407 408 $scripts->add( ' custom-navigation-php-functions', "/wp-admin/js/custom-navigation-php-functions$suffix.js", false, '20100220' );408 $scripts->add( 'nav-menu-php-functions', "/wp-admin/js/nav-menu-php-functions$suffix.js", false, '20100220' ); 409 409 } 410 410 } … … 475 475 $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' ); 476 476 $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' ); 477 $styles->add( ' custom-navigation', "/wp-admin/css/custom-navigation$suffix.css", array(), '20100225' );477 $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100225' ); 478 478 479 479 foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset
for help on using the changeset viewer.