Ticket #24256: nav-menu.diff
File nav-menu.diff, 735 bytes (added by , 12 years ago) |
---|
-
trunk/wp-admin/includes/nav-menu.php
424 424 if ( get_user_option( 'metaboxhidden_nav-menus' ) !== false || ! is_array($wp_meta_boxes) ) 425 425 return; 426 426 427 $initial_meta_boxes = array( 'nav-menu-theme-locations', 'add-page', 'add-custom-links', 'add-category' ); 427 $initial_meta_boxes = apply_filters( 'initial_nav_menu_meta_boxes', array( 428 'nav-menu-theme-locations', 429 'add-page', 430 'add-custom-links', 431 'add-category' 432 )); 428 433 $hidden_meta_boxes = array(); 429 434 430 435 foreach ( array_keys($wp_meta_boxes['nav-menus']) as $context ) {