Ticket #40125: 40125.patch
File 40125.patch, 781 bytes (added by , 5 years ago) |
---|
-
wp-admin/async-upload.php
60 60 case 3 : 61 61 if ( $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true ) ) 62 62 echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />'; 63 echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';63 echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" >' . _x( 'Edit', 'media item' ) . '</a>'; 64 64 65 65 // Title shouldn't ever be empty, but use filename just in case. 66 66 $file = get_attached_file( $post->ID );