Changeset 49222 for trunk/src/wp-includes/media-template.php
- Timestamp:
- 10/20/2020 02:27:39 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r49215 r49222 515 515 516 516 <div class="actions"> 517 <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> 518 <# if ( data.can.save ) { #> | 517 <# if ( data.link ) { #> 518 <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> 519 <# } #> 520 <# if ( data.can.save ) { #> 521 <# if ( data.link ) { #> 522 <span class="links-separator">|</span> 523 <# } #> 519 524 <a href="{{ data.editLink }}"><?php _e( 'Edit more details' ); ?></a> 520 525 <# } #> 521 <# if ( ! data.uploading && data.can.remove ) { #> | 526 <# if ( ! data.uploading && data.can.remove ) { #> 527 <# if ( data.link || data.can.save ) { #> 528 <span class="links-separator">|</span> 529 <# } #> 522 530 <?php if ( MEDIA_TRASH ) : ?> 523 531 <# if ( 'trash' === data.status ) { #>
Note: See TracChangeset
for help on using the changeset viewer.