Ticket #18853: 18853.patch
File 18853.patch, 613 bytes (added by , 13 years ago) |
---|
-
wp-admin/nav-menus.php
432 432 if ( is_nav_menu( $nav_menu_selected_id ) ) 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 440 add_action('admin_body_class','wp_nav_menu_max_depth');