WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/27/2012 07:45:26 AM (9 years ago)
Author:
koopersmith
Message:

Add quick insert buttons to attachment views in the library and remove buttons to attachment views in the gallery editor. see #21390, #21809.

File:
1 edited

Legend:

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

    r22043 r22053  
    14001400                <div class="media-progress-bar"><div></div></div>
    14011401            <% } %>
    1402             <div class="actions"></div>
     1402
     1403            <% if ( buttons.close ) { %>
     1404                <a class="close" href="#">&times;</a>
     1405            <% } %>
     1406
     1407            <% if ( buttons.insert ) { %>
     1408                <a class="insert button button-primary button-small" href="#"><?php _e( 'Insert' ); ?></a>
     1409            <% } %>
    14031410        </div>
    14041411        <div class="describe"></div>
Note: See TracChangeset for help on using the changeset viewer.