WordPress.org

Make WordPress Core

Ticket #21126: postthumbnailid.diff

File postthumbnailid.diff, 693 bytes (added by ryanimel, 3 years ago)
  • wp-admin/includes/post.php

     
     
    11541154        if ( $thumbnail_id && get_post( $thumbnail_id ) ) { 
    11551155                $old_content_width = $content_width; 
    11561156                $content_width = 266; 
     1157                $set_thumbnail_link = '<p class="hide-if-no-js"><a title="' . esc_attr__( 'Modify featured image' ) . '" href="%s" id="modify-post-thumbnail" class="thickbox">%s</a></p>'; 
    11571158                if ( !isset( $_wp_additional_image_sizes['post-thumbnail'] ) ) 
    11581159                        $thumbnail_html = wp_get_attachment_image( $thumbnail_id, array( $content_width, $content_width ) ); 
    11591160                else