Changeset 56711 for trunk/src/wp-includes/media-template.php
- Timestamp:
- 09/26/2023 02:43:25 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/media-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r56597 r56711 558 558 <div class="actions"> 559 559 <# if ( data.link ) { #> 560 <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> 560 <?php 561 $view_media_text = ( '1' === get_option( 'wp_attachment_pages_enabled' ) ) ? __( 'View attachment page' ) : __( 'View media file' ); 562 ?> 563 <a class="view-attachment" href="{{ data.link }}"><?php echo $view_media_text; ?></a> 561 564 <# } #> 562 565 <# if ( data.can.save ) { #>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)