WordPress.org

Make WordPress Core

Ticket #12861: media.php.diff

File media.php.diff, 588 bytes (added by dougal, 11 years ago)

Remove inline style from thumbnail image in media library browser

  • media.php

     
    12291229                <thead class='media-item-info' id='media-head-$post->ID'>
    12301230                <tr valign='top'>
    12311231                        <td class='A1B1' id='thumbnail-head-$post->ID'>
    1232                         <p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' style='margin-top: 3px' /></a></p>
     1232                        <p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p>
    12331233                        <p>$image_edit_button</p>
    12341234                        </td>
    12351235                        <td>