Make WordPress Core


Ignore:
Timestamp:
07/22/2014 01:29:17 AM (12 years ago)
Author:
SergeyBiryukov
Message:

Media Grid: Add a View button to Attachment Details modal.

props adamsilverstein.
fixes #28977.

File:
1 edited

Legend:

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

    r29212 r29262  
    297297                        <a class="button edit-image" href="#"><?php _e( 'Edit Image' ); ?></a>
    298298                    <# } #>
     299
     300                    <a class="button view-attachment" href="#"><?php _e( 'View' ); ?></a>
    299301
    300302                    <# if ( ! data.uploading && data.can.remove ) { #>
Note: See TracChangeset for help on using the changeset viewer.