Ticket #54417: 54426.patch
File 54426.patch, 751 bytes (added by , 3 years ago) |
---|
-
src/wp-admin/includes/class-wp-media-list-table.php
807 807 __( 'View' ) 808 808 ); 809 809 } 810 811 if ( ! $this->is_trash ) { 812 $file = get_attached_file( $post->ID ); 813 $file_url = wp_get_attachment_url( $post->ID ); 814 815 $actions['copy'] = sprintf( 816 '<a href="%s" aria-label="%s" rel="bookmark">%s</a>', 817 $file_url, 818 /* translators: %s: Attachment title. */ 819 esc_attr( sprintf( __( 'Copy URL “%s”' ), $att_title ) ), 820 __( 'Copy URL' ) 821 ); 822 } 810 823 } 811 824 812 825 /**