Changeset 13730
- Timestamp:
- 03/17/2010 04:13:16 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/nav-menus.php
r13723 r13730 28 28 29 29 // Nav Menu functions 30 wp_enqueue_script( 'nav-menu-dynamic-functions' ); 31 wp_enqueue_script( 'nav-menu-default-items' ); 32 wp_enqueue_script( 'nav-menu-php-functions' ); 30 wp_enqueue_script( 'nav-menu' ); 33 31 34 32 // Metaboxes -
trunk/wp-includes/script-loader.php
r13725 r13730 398 398 399 399 // Custom Navigation 400 $scripts->add( 'nav-menu-default-items', "/wp-admin/js/nav-menu-default-items$suffix.js", false, '20100315' ); 401 $scripts->add( 'nav-menu-dynamic-functions', "/wp-admin/js/nav-menu-dynamic-functions$suffix.js", false, '20100315' ); 402 $scripts->localize( 'nav-menu-dynamic-functions', 'navMenuL10n', array( 400 $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", false, '20100315' ); 401 $scripts->localize( 'nav-menu', 'navMenuL10n', array( 403 402 'custom' => _x('Custom', 'menu nav item type'), 404 403 'page' => _x('Page', 'menu nav item type'), … … 408 407 'warnDelete' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ), 409 408 ) ); 410 411 $scripts->add( 'nav-menu-php-functions', "/wp-admin/js/nav-menu-php-functions$suffix.js", false, '20100220' );412 409 } 413 410 }
Note: See TracChangeset
for help on using the changeset viewer.