Changeset 58210
- Timestamp:
- 05/27/2024 02:29:56 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/async-upload.php
r56600 r58210 65 65 <div class="filename new"> 66 66 <span class="media-list-title"><strong><?php echo esc_html( wp_html_excerpt( $title, 60, '…' ) ); ?></strong></span> 67 <span class="media-list-subtitle"><?php echo wp_basename( $file); ?></span>67 <span class="media-list-subtitle"><?php echo esc_html( wp_basename( $file ) ); ?></span> 68 68 </div> 69 69 </div> 70 70 <div class="attachment-tools"> 71 71 <span class="media-item-copy-container copy-to-clipboard-container edit-attachment"> 72 <button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo $file_url; ?>"><?php _e( 'Copy URL to clipboard' ); ?></button>72 <button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo esc_url( $file_url ); ?>"><?php _e( 'Copy URL to clipboard' ); ?></button> 73 73 <span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span> 74 74 </span>
Note: See TracChangeset
for help on using the changeset viewer.