Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17372 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ad5baf38be
commit
861b32c855
@ -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
Block a user