Menus: After [35450], use correct IDs in `$initial_meta_boxes`.

Props swissspidy.
Fixes #33925.
Built from https://develop.svn.wordpress.org/trunk@35502


git-svn-id: http://core.svn.wordpress.org/trunk@35466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-11-04 10:56:26 +00:00
parent 154e3d4593
commit 18852f07f2
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ function wp_initial_nav_menu_meta_boxes() {
if ( get_user_option( 'metaboxhidden_nav-menus' ) !== false || ! is_array($wp_meta_boxes) )
return;
$initial_meta_boxes = array( 'add-page', 'add-post', 'add-custom-links', 'add-category' );
$initial_meta_boxes = array( 'add-post-type-page', 'add-post-type-post', 'add-custom-links', 'add-category' );
$hidden_meta_boxes = array();
foreach ( array_keys($wp_meta_boxes['nav-menus']) as $context ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta2-35501';
$wp_version = '4.4-beta2-35502';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.