Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9afb883ffa
commit
95ef90de64
|
@ -109,7 +109,7 @@ require_once('./includes/meta-boxes.php');
|
|||
add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', $post_type, 'side', 'core');
|
||||
|
||||
if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post_type, 'post-formats' ) )
|
||||
add_meta_box( 'formatdiv', __('Format'), 'post_format_meta_box', $post_type, 'side', 'core' );
|
||||
add_meta_box( 'formatdiv', _x( 'Format', 'post format' ), 'post_format_meta_box', $post_type, 'side', 'core' );
|
||||
|
||||
// all taxonomies
|
||||
foreach ( get_object_taxonomies($post_type) as $tax_name ) {
|
||||
|
|
|
@ -87,8 +87,8 @@ function create_initial_taxonomies() {
|
|||
'public' => true,
|
||||
'hierarchical' => false,
|
||||
'labels' => array(
|
||||
'name' => __( 'Format' ),
|
||||
'singular_name' => __( 'Format' ),
|
||||
'name' => _x( 'Format', 'post format' ),
|
||||
'singular_name' => _x( 'Format', 'post format' ),
|
||||
),
|
||||
'query_var' => true,
|
||||
'rewrite' => $rewrite,
|
||||
|
|
Loading…
Reference in New Issue