WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2010 05:10:00 PM (12 years ago)
Author:
wpmuguru
Message:

move nav menu css/js to nav-menu prefix, See #11817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r13395 r13402  
    398398
    399399        // 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(
    403403            'custom' => _x('Custom', 'menu nav item type'),
    404404            'page' => _x('Page', 'menu nav item type'),
     
    406406        ) );
    407407       
    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' );
    409409    }
    410410}
     
    475475    $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
    476476    $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' );
    478478
    479479    foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset for help on using the changeset viewer.