WordPress.org

Make WordPress Core

Ticket #16423: 16423.diff

File 16423.diff, 1.2 KB (added by scribu, 7 years ago)
  • wp-includes/taxonomy.php

     
    8787                'public' => true,
    8888                'hierarchical' => false,
    8989                'labels' => array(
    90                         'name' => __( 'Format' ),
    91                         'singular_name' => __( 'Format' ),
     90                        'name' => _x( 'Format', 'post format' ),
     91                        'singular_name' => _x( 'Format', 'post format' ),
    9292                ),
    9393                'query_var' => true,
    9494                'rewrite' => $rewrite,
  • wp-admin/edit-form-advanced.php

     
    109109add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', $post_type, 'side', 'core');
    110110
    111111if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post_type, 'post-formats' ) )
    112         add_meta_box( 'formatdiv', __('Format'), 'post_format_meta_box', $post_type, 'side', 'core' );
     112        add_meta_box( 'formatdiv', _x( 'Format', 'post format' ), 'post_format_meta_box', $post_type, 'side', 'core' );
    113113
    114114// all taxonomies
    115115foreach ( get_object_taxonomies($post_type) as $tax_name ) {