Changes from branches/4.0/src/wp-includes/media-template.php at r30408 to trunk/src/wp-includes/media-template.php at r29704
- File:
-
- 1 edited
-
trunk/src/wp-includes/media-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r30408 r29704 313 313 314 314 <div class="attachment-actions"> 315 <# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save) { #>315 <# if ( 'image' === data.type && ! data.uploading && data.sizes ) { #> 316 316 <a class="button edit-attachment" href="#"><?php _e( 'Edit Image' ); ?></a> 317 317 <# } #> … … 395 395 <span class="value">{{ data.authorName }}</span> 396 396 </label> 397 <# if ( data.uploadedTo Title) { #>397 <# if ( data.uploadedTo ) { #> 398 398 <label class="setting"> 399 399 <span class="name"><?php _e( 'Uploaded To' ); ?></span> … … 409 409 410 410 <div class="actions"> 411 <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> 412 <# if ( data.can.save ) { #> | 413 <a href="post.php?post={{ data.id }}&action=edit"><?php _e( 'Edit more details' ); ?></a> 414 <# } #> 411 <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> | 412 <a href="post.php?post={{ data.id }}&action=edit"><?php _e( 'Edit more details' ); ?></a> 415 413 <# if ( ! data.uploading && data.can.remove ) { #> | 416 <?php if ( MEDIA_TRASH ): ?>414 <?php if ( MEDIA_TRASH ): ?> 417 415 <# if ( 'trash' === data.status ) { #> 418 416 <a class="untrash-attachment" href="#"><?php _e( 'Untrash' ); ?></a> … … 420 418 <a class="trash-attachment" href="#"><?php _e( 'Trash' ); ?></a> 421 419 <# } #> 422 <?php else: ?>423 <a class="delete-attachment" href="#"><?php _e( 'Delete Permanently' ); ?></a>424 <?php endif; ?>425 <# } #>420 <?php else: ?> 421 <a class="delete-attachment" href="#"><?php _e( 'Delete Permanently' ); ?></a> 422 <?php endif; ?> 423 <# } #> 426 424 </div> 427 425
Note: See TracChangeset
for help on using the changeset viewer.