Media Grid: Add a View button to Attachment Details modal.
props adamsilverstein. fixes #28977. Built from https://develop.svn.wordpress.org/trunk@29262 git-svn-id: http://core.svn.wordpress.org/trunk@29045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -297,6 +297,8 @@ function wp_print_media_templates() {
|
||||
<a class="button edit-image" href="#"><?php _e( 'Edit Image' ); ?></a>
|
||||
<# } #>
|
||||
|
||||
<a class="button view-attachment" href="#"><?php _e( 'View' ); ?></a>
|
||||
|
||||
<# if ( ! data.uploading && data.can.remove ) { #>
|
||||
<?php if ( MEDIA_TRASH ): ?>
|
||||
<a class="trash-attachment" href="#"><?php _e( 'Trash' ); ?></a>
|
||||
|
||||
Reference in New Issue
Block a user