Ticket #62434: 62434.patch
File 62434.patch, 806 bytes (added by , 8 months ago) |
---|
-
wp-admin/async-upload.php
74 74 } 75 75 ?> 76 76 <span class="media-item-copy-container copy-to-clipboard-container edit-attachment"> 77 <button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo $file_url; ?>"><?php _e( 'Copy URL to clipboard' ); ?></button>77 <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> 78 78 <span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span> 79 79 </span> 80 80 </div>