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
This commit is contained in:
parent
340b7a5289
commit
833e92b7da
|
@ -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,
|
||||
);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue