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