Changeset 32673 for trunk/src/wp-admin/edit-form-advanced.php
- Timestamp:
- 05/31/2015 04:53:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r32642 r32673 214 214 215 215 if ( $thumbnail_support && current_user_can( 'upload_files' ) ) 216 add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', null, 'side', 'low');216 add_meta_box('postimagediv', esc_html( $post_type_object->labels->featured_image ), 'post_thumbnail_meta_box', null, 'side', 'low'); 217 217 218 218 if ( post_type_supports($post_type, 'excerpt') ) … … 372 372 373 373 if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) { 374 $publish_box .= '<li>' . __('<strong>Featured Image</strong> - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the featured image as a post thumbnail on the home page, a custom header, etc.') . '</li>'; 374 /* translators: %s: Featured Image */ 375 $publish_box .= '<li>' . sprintf( __( '<strong>%s</strong> - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the image as a post thumbnail on the home page, a custom header, etc.' ), esc_html( $post_type_object->labels->featured_image ) ) . '</li>'; 375 376 } 376 377
Note: See TracChangeset
for help on using the changeset viewer.