Changeset 12344
- Timestamp:
- 12/08/2009 09:27:53 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r12339 r12344 1241 1241 $thumbnail = ''; 1242 1242 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>"; 1244 1244 1245 1245 if ( ( $send || $thumbnail || $delete ) && !isset($form_fields['buttons']) ) -
trunk/wp-includes/script-loader.php
r12339 r12344 386 386 $scripts->add_data( 'set-post-thumbnail', 'group', 1 ); 387 387 $scripts->localize( 'set-post-thumbnail', 'setPostThumbnailL10n', array( 388 'setThumbnail' => __( 'Use as thumbnail' ),388 'setThumbnail' => __( 'Use as post image' ), 389 389 'saving' => __( 'Saving...' ), 390 390 'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' )
Note: See TracChangeset
for help on using the changeset viewer.