Make WordPress Core


Ignore:
Timestamp:
02/20/2010 09:57:43 PM (15 years ago)
Author:
wpmuguru
Message:

introduce custom menus, props jeffikus, See #11817

File:
1 edited

Legend:

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

    r13239 r13257  
    395395
    396396    }
     397   
     398    //Custom Navigation
     399
     400    $scripts->add( 'custom-navigation-jquery', '/wp-admin/js/custom-navigation-custom-jquery-1.3.2.js', false, '1.3.2' );
     401       
     402    $scripts->add( 'custom-navigation-ui-custom', '/wp-admin/js/custom-navigation-custom-jquery-ui-1.7.2.js', array('custom-navigation-jquery'), '1.7.2' );
     403    $scripts->add_data( 'custom-navigation-ui-custom', 'group', 1 );
     404   
     405    $scripts->add( 'custom-navigation-autocomplete', '/wp-admin/js/custom-navigation-custom-jquery-autocomplete.js', array('custom-navigation-jquery'), '1.0.0' );
     406    $scripts->add_data( 'custom-navigation-autocomplete', 'group', 1 );
     407   
     408    $scripts->add( 'custom-navigation-default-items', '/wp-admin/js/custom-navigation-default-items.js', false, '1.0.0' );
     409    $scripts->add( 'custom-navigation-dynamic-functions', '/wp-admin/js/custom-navigation-dynamic-functions.js', false, '1.0.0' );
     410    $scripts->add( 'custom-navigation-php-functions', '/wp-admin/js/custom-navigation-php-functions.js', false, '1.0.0' );
     411   
    397412}
    398413
     
    460475    $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
    461476    $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
    462 
     477    $styles->add( 'custom-navigation', "/wp-admin/css/custom-navigation$suffix.css", array(), '20100215' );
     478   
    463479    foreach ( $rtl_styles as $rtl_style )
    464480        $styles->add_data( $rtl_style, 'rtl', true );
Note: See TracChangeset for help on using the changeset viewer.