Ticket #29596: media-template.php.patch
File media-template.php.patch, 1018 bytes (added by , 10 years ago) |
---|
-
media-template.php
old new 312 312 <# } #> 313 313 314 314 <div class="attachment-actions"> 315 <# if ( 'image' === data.type && ! data.uploading && data.sizes ) { #>315 <# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save ) { #> 316 316 <a class="button edit-attachment" href="#"><?php _e( 'Edit Image' ); ?></a> 317 317 <# } #> 318 318 </div> … … 408 408 </div> 409 409 410 410 <div class="actions"> 411 <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> | 411 <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> 412 <# if ( data.can.save ) { #> | 412 413 <a href="post.php?post={{ data.id }}&action=edit"><?php _e( 'Edit more details' ); ?></a> 414 <# } #> 413 415 <# if ( ! data.uploading && data.can.remove ) { #> | 414 416 <?php if ( MEDIA_TRASH ): ?> 415 417 <# if ( 'trash' === data.status ) { #>