Changeset 55156
- Timestamp:
- 01/27/2023 11:05:35 PM (22 months ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r55002 r55156 3337 3337 </span> 3338 3338 </div> 3339 <div class="misc-pub-section misc-pub-download"> 3340 <a href="<?php echo esc_attr( $att_url ); ?>" download><?php _e( 'Download file' ); ?></a> 3341 </div> 3339 3342 <div class="misc-pub-section misc-pub-filename"> 3340 3343 <?php _e( 'File name:' ); ?> <strong><?php echo $filename; ?></strong> -
trunk/src/wp-includes/media-template.php
r54526 r55156 530 530 <a href="{{ data.editLink }}"><?php _e( 'Edit more details' ); ?></a> 531 531 <# } #> 532 <# if ( data.can.save && data.link ) { #> 533 <span class="links-separator">|</span> 534 <a href="{{ data.url }}" download><?php _e( 'Download file' ); ?></a> 535 <# } #> 532 536 <# if ( ! data.uploading && data.can.remove ) { #> 533 537 <# if ( data.link || data.can.save ) { #>
Note: See TracChangeset
for help on using the changeset viewer.