WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/10/2012 10:08:43 AM (9 years ago)
Author:
koopersmith
Message:

Media JS: Ensure the subtype key has a default set.

Prevents undefined JS errors in the attachments view template.

see #21390.

File:
1 edited

Legend:

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

    r22159 r22160  
    13411341            <% } %>
    13421342
    1343 
    1344 
    13451343            <% if ( buttons.close ) { %>
    13461344                <a class="close" href="#">&times;</a>
Note: See TracChangeset for help on using the changeset viewer.