From d872f38c31111a5e5c3ddd4a47d50da39a352366 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Thu, 18 Jun 2015 15:04:26 +0000 Subject: [PATCH] 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 --- wp-admin/includes/nav-menu.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index a614650852..804c1a0097 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index eaef81a0ab..2be2d22664 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.