Show the posts meta box by default in Appearance > Menus.

Lessens user confusion and the likelyhood of misusing custom links
to add menu items for posts.

Props bcole808.
Fixes #32440.


Built from https://develop.svn.wordpress.org/trunk@32842


git-svn-id: http://core.svn.wordpress.org/trunk@32813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2015-06-18 15:04:26 +00:00
parent f7f14ae558
commit d872f38c31
2 changed files with 3 additions and 3 deletions

View File

@ -468,7 +468,7 @@ function wp_nav_menu_setup() {
}
/**
* Limit the amount of meta boxes to just links, pages and cats for first time users.
* Limit the amount of meta boxes to pages, posts, links, and categories for first time users.
*
* @since 3.0.0
*
@ -480,7 +480,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( 'nav-menu-theme-locations', 'add-page', 'add-custom-links', 'add-category' );
$initial_meta_boxes = array( 'add-page', 'add-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.3-alpha-32841';
$wp_version = '4.3-alpha-32842';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.