Make WordPress Core


Ignore:
Timestamp:
04/02/2010 06:12:49 AM (16 years ago)
Author:
dd32
Message:

Change UI labels from "Post Thumbnails" to "Featured Image". See #12554

File:
1 edited

Legend:

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

    r13890 r13940  
    11441144function _wp_post_thumbnail_html( $thumbnail_id = NULL ) {
    11451145    global $content_width, $_wp_additional_image_sizes;
    1146     $content = '<p class="hide-if-no-js"><a href="#" id="set-post-thumbnail" onclick="jQuery(\'#add_image\').click();return false;">' . esc_html__( 'Set thumbnail' ) . '</a></p>';
     1146    $content = '<p class="hide-if-no-js"><a href="#" id="set-post-thumbnail" onclick="jQuery(\'#add_image\').click();return false;">' . esc_html__( 'Set featured image' ) . '</a></p>';
    11471147
    11481148    if ( $thumbnail_id && get_post( $thumbnail_id ) ) {
     
    11551155        if ( !empty( $thumbnail_html ) ) {
    11561156            $content = '<a href="#" id="set-post-thumbnail" onclick="jQuery(\'#add_image\').click();return false;">' . $thumbnail_html . '</a>';
    1157             $content .= '<p class="hide-if-no-js"><a href="#" id="remove-post-thumbnail" onclick="WPRemoveThumbnail();return false;">' . esc_html__( 'Remove thumbnail' ) . '</a></p>';
     1157            $content .= '<p class="hide-if-no-js"><a href="#" id="remove-post-thumbnail" onclick="WPRemoveThumbnail();return false;">' . esc_html__( 'Remove featured image' ) . '</a></p>';
    11581158        }
    11591159        $content_width = $old_content_width;
Note: See TracChangeset for help on using the changeset viewer.