Make WordPress Core

Changeset 38326


Ignore:
Timestamp:
08/23/2016 01:41:16 AM (10 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use a consistent context for "Add New" submenu strings in admin bar (Toolbar).

Props ramiy.
Fixes #37780.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r38263 r38326  
    2121        register_post_type( 'post', array(
    2222                'labels' => array(
    23                         'name_admin_bar' => _x( 'Post', 'add new on admin bar' ),
     23                        'name_admin_bar' => _x( 'Post', 'add new from admin bar' ),
    2424                ),
    2525                'public'  => true,
    … …  
    3838        register_post_type( 'page', array(
    3939                'labels' => array(
    40                         'name_admin_bar' => _x( 'Page', 'add new on admin bar' ),
     40                        'name_admin_bar' => _x( 'Page', 'add new from admin bar' ),
    4141                ),
    4242                'public' => true,
Note: See TracChangeset for help on using the changeset viewer.