Changeset 12339 for trunk/wp-admin/includes/media.php
- Timestamp:
- 12/08/2009 04:34:04 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r12308 r12339 1240 1240 1241 1241 $thumbnail = ''; 1242 if ( 'image' == $type && current_theme_supports( 'post- thumbnails' ) && get_post_image_id($_GET['post_id']) != $attachment_id )1242 if ( 'image' == $type && current_theme_supports( 'post-images' ) && get_post_image_id($_GET['post_id']) != $attachment_id ) 1243 1243 $thumbnail = "<a class='wp-post-thumbnail' href='#' onclick='WPSetAsThumbnail(\"$attachment_id\");return false;'>" . esc_html__( "Use as thumbnail" ) . "</a>"; 1244 1244
Note: See TracChangeset
for help on using the changeset viewer.