Make WordPress Core


Ignore:
Timestamp:
11/21/2012 12:05:24 PM (12 years ago)
Author:
nacin
Message:

Properly refresh the thumbnail on post.php after an image edit. props ocean90. see #21391.

File:
1 edited

Legend:

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

    r22748 r22749  
    22702270
    22712271        <div class="wp_attachment_image" id="media-head-<?php echo $attachment_id; ?>">
    2272             <p><img class="thumbnail" src="<?php echo set_url_scheme( $thumb_url[0] ); ?>" style="max-width:100%" width="<?php echo $thumb_url[1]; ?>" alt="" /></p>
     2272            <p id="thumbnail-head-<?php echo $attachment_id; ?>"><img class="thumbnail" src="<?php echo set_url_scheme( $thumb_url[0] ); ?>" style="max-width:100%" alt="" /></p>
    22732273            <p><?php echo $image_edit_button; ?></p>
    22742274        </div>
Note: See TracChangeset for help on using the changeset viewer.