From 64dac53d705e8546b9b116eba5351abed8cd6c8f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 23 Aug 2016 01:42:32 +0000 Subject: [PATCH] I18N: Use a consistent context for "Add New" submenu strings in admin bar (Toolbar). Props ramiy. Fixes #37780. Built from https://develop.svn.wordpress.org/trunk@38326 git-svn-id: http://core.svn.wordpress.org/trunk@38267 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index d033172763..905a99a320 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -20,7 +20,7 @@ function create_initial_post_types() { register_post_type( 'post', array( 'labels' => array( - 'name_admin_bar' => _x( 'Post', 'add new on admin bar' ), + 'name_admin_bar' => _x( 'Post', 'add new from admin bar' ), ), 'public' => true, '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ @@ -37,7 +37,7 @@ function create_initial_post_types() { register_post_type( 'page', array( 'labels' => array( - 'name_admin_bar' => _x( 'Page', 'add new on admin bar' ), + 'name_admin_bar' => _x( 'Page', 'add new from admin bar' ), ), 'public' => true, 'publicly_queryable' => false, diff --git a/wp-includes/version.php b/wp-includes/version.php index 5a77562a36..836c381e82 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38325'; +$wp_version = '4.7-alpha-38326'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.