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
This commit is contained in:
Sergey Biryukov 2016-08-23 01:42:32 +00:00
parent 92343be1f4
commit 64dac53d70
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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.