Make WordPress Core


Ignore:
Timestamp:
09/19/2012 01:10:17 AM (13 years ago)
Author:
koopersmith
Message:

Rename the attachment-thumbnail class in the media modal Attachment view to prevent conflicts with wp_get_attachment_image(). see #21390.

File:
1 edited

Legend:

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

    r21833 r21909  
    16461646
    16471647    <script type="text/html" id="tmpl-attachment">
    1648         <div class="attachment-thumbnail type-<%- type %> subtype-<%- subtype %> <%- orientation %>">
     1648        <div class="attachment-preview type-<%- type %> subtype-<%- subtype %> <%- orientation %>">
    16491649            <% if ( thumbnail ) { %>
    16501650                <img src="<%- thumbnail %>" draggable="false" />
Note: See TracChangeset for help on using the changeset viewer.