Changeset 18882 for trunk/wp-admin/nav-menus.php
- Timestamp:
- 10/05/2011 07:09:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/nav-menus.php
r18867 r18882 433 433 $edit_markup = wp_get_nav_menu_to_edit( $nav_menu_selected_id ); 434 434 435 function wp_nav_menu_max_depth( ) {435 function wp_nav_menu_max_depth($classes) { 436 436 global $_wp_nav_menu_max_depth; 437 return " menu-max-depth-$_wp_nav_menu_max_depth";437 return "$classes menu-max-depth-$_wp_nav_menu_max_depth"; 438 438 } 439 439 440 add_ action('admin_body_class','wp_nav_menu_max_depth');440 add_filter('admin_body_class', 'wp_nav_menu_max_depth'); 441 441 442 442 wp_nav_menu_setup();
Note: See TracChangeset
for help on using the changeset viewer.