Ticket #41474: 41474.diff
File 41474.diff, 1.3 KB (added by , 23 months ago) |
---|
-
src/wp-admin/includes/media.php
3336 3336 <span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span> 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> 3341 3344 </div> -
src/wp-includes/media-template.php
529 529 <# } #> 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 ) { #> 534 538 <span class="links-separator">|</span>