WordPress.org

Make WordPress Core

Changeset 39667


Ignore:
Timestamp:
01/04/17 08:39:29 (3 months ago)
Author:
SergeyBiryukov
Message:

I18N: Add post type context to "Featured Image" post labels.

Fixes #39458.

File:
1 edited

Legend:

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

    r39666 r39667  
    13851385        'insert_into_item' => array( __( 'Insert into post' ), __( 'Insert into page' ) ), 
    13861386        'uploaded_to_this_item' => array( __( 'Uploaded to this post' ), __( 'Uploaded to this page' ) ), 
    1387         'featured_image' => array( __( 'Featured Image' ), __( 'Featured Image' ) ), 
    1388         'set_featured_image' => array( __( 'Set featured image' ), __( 'Set featured image' ) ), 
    1389         'remove_featured_image' => array( __( 'Remove featured image' ), __( 'Remove featured image' ) ), 
    1390         'use_featured_image' => array( __( 'Use as featured image' ), __( 'Use as featured image' ) ), 
     1387        'featured_image' => array( _x( 'Featured Image', 'post' ), _x( 'Featured Image', 'page' ) ), 
     1388        'set_featured_image' => array( _x( 'Set featured image', 'post' ), _x( 'Set featured image', 'page' ) ), 
     1389        'remove_featured_image' => array( _x( 'Remove featured image', 'post' ), _x( 'Remove featured image', 'page' ) ), 
     1390        'use_featured_image' => array( _x( 'Use as featured image', 'post' ), _x( 'Use as featured image', 'page' ) ), 
    13911391        'filter_items_list' => array( __( 'Filter posts list' ), __( 'Filter pages list' ) ), 
    13921392        'items_list_navigation' => array( __( 'Posts list navigation' ), __( 'Pages list navigation' ) ), 
Note: See TracChangeset for help on using the changeset viewer.