From 833e92b7da0fe2748704bb1daa45211df6d532a2 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Thu, 24 Sep 2015 09:16:25 +0000 Subject: [PATCH] Customizer: Use the plural label for available menu item types. Fixes #33634. Built from https://develop.svn.wordpress.org/trunk@34487 git-svn-id: http://core.svn.wordpress.org/trunk@34451 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-nav-menus.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php index 1d78e2f63c..adccacd130 100644 --- a/wp-includes/class-wp-customize-nav-menus.php +++ b/wp-includes/class-wp-customize-nav-menus.php @@ -615,7 +615,7 @@ final class WP_Customize_Nav_Menus { if ( $post_types ) { foreach ( $post_types as $slug => $post_type ) { $item_types[] = array( - 'title' => $post_type->labels->singular_name, + 'title' => $post_type->labels->name, 'type' => 'post_type', 'object' => $post_type->name, ); @@ -629,7 +629,7 @@ final class WP_Customize_Nav_Menus { continue; } $item_types[] = array( - 'title' => $taxonomy->labels->singular_name, + 'title' => $taxonomy->labels->name, 'type' => 'taxonomy', 'object' => $taxonomy->name, ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 75217fd2b0..7833fe5e40 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34486'; +$wp_version = '4.4-alpha-34487'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.