From 03adca4299a91e0a49f0f9b5e33c2de7c07f274d Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 31 Aug 2016 19:15:28 +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. Built from https://develop.svn.wordpress.org/trunk@38479 git-svn-id: http://core.svn.wordpress.org/trunk@38420 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-nav-menus.php | 4 +--- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php index 9a41239e76..f68dc13761 100644 --- a/wp-includes/class-wp-customize-nav-menus.php +++ b/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 ) ) : ?>
- +
diff --git a/wp-includes/version.php b/wp-includes/version.php index 88181b703a..ca7501c0bd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38478'; +$wp_version = '4.7-alpha-38479'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.