mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
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:
parent
154e3d4593
commit
18852f07f2
@ -154,7 +154,7 @@ function wp_initial_nav_menu_meta_boxes() {
|
|||||||
if ( get_user_option( 'metaboxhidden_nav-menus' ) !== false || ! is_array($wp_meta_boxes) )
|
if ( get_user_option( 'metaboxhidden_nav-menus' ) !== false || ! is_array($wp_meta_boxes) )
|
||||||
return;
|
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();
|
$hidden_meta_boxes = array();
|
||||||
|
|
||||||
foreach ( array_keys($wp_meta_boxes['nav-menus']) as $context ) {
|
foreach ( array_keys($wp_meta_boxes['nav-menus']) as $context ) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user