Make WordPress Core

Changeset 12344


Ignore:
Timestamp:
12/08/2009 09:27:53 PM (16 years ago)
Author:
markjaquith
Message:

Yet more standardization around Post/Page Image instead of Post/Page Thumbnail

Location:
trunk
Files:
2 edited

Legend:

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

    r12339 r12344  
    12411241    $thumbnail = '';
    12421242    if ( 'image' == $type && current_theme_supports( 'post-images' ) && get_post_image_id($_GET['post_id']) != $attachment_id )
    1243         $thumbnail = "<a class='wp-post-thumbnail' href='#' onclick='WPSetAsThumbnail(\"$attachment_id\");return false;'>" . esc_html__( "Use as thumbnail" ) . "</a>";
     1243        $thumbnail = "<a class='wp-post-thumbnail' href='#' onclick='WPSetAsThumbnail(\"$attachment_id\");return false;'>" . esc_html__( "Use as post image" ) . "</a>";
    12441244
    12451245    if ( ( $send || $thumbnail || $delete ) && !isset($form_fields['buttons']) )
  • trunk/wp-includes/script-loader.php

    r12339 r12344  
    386386        $scripts->add_data( 'set-post-thumbnail', 'group', 1 );
    387387        $scripts->localize( 'set-post-thumbnail', 'setPostThumbnailL10n', array(
    388             'setThumbnail' => __( 'Use as thumbnail' ),
     388            'setThumbnail' => __( 'Use as post image' ),
    389389            'saving' => __( 'Saving...' ),
    390390            'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' )
Note: See TracChangeset for help on using the changeset viewer.