From 1dfd45923e3d4d9e8db20da493644866a5ce0f6e Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 31 Aug 2016 19:14:54 +0000 Subject: [PATCH] Customize: Fix i18n by re-using the `add_new_item` post type label instead of using a post type name in a generic string. Props afercia, westonruter. See #34923. Fixes #37895. git-svn-id: https://develop.svn.wordpress.org/trunk@38479 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-nav-menus.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-customize-nav-menus.php b/src/wp-includes/class-wp-customize-nav-menus.php index 9a41239e76..f68dc13761 100644 --- a/src/wp-includes/class-wp-customize-nav-menus.php +++ b/src/wp-includes/class-wp-customize-nav-menus.php @@ -939,9 +939,7 @@ final class WP_Customize_Nav_Menus { cap->create_posts ) && current_user_can( $post_type_obj->cap->publish_posts ) ) : ?>
- +