WordPress.org

Make WordPress Core

Ticket #47889: 47889.diff

File 47889.diff, 694 bytes (added by donmhico, 2 years ago)
  • src/wp-admin/async-upload.php

    diff --git src/wp-admin/async-upload.php src/wp-admin/async-upload.php
    index 5e28c1e8e4..7506c5278f 100644
    if ( isset( $_REQUEST['attachment_id'] ) && intval( $_REQUEST['attachment_id'] ) 
    5353                case 3:
    5454                        $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true );
    5555                        if ( $thumb_url ) {
    56                                 echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
     56                                echo '<img class="pinkynail" src="' . $thumb_url[0] . '" alt="" />';
    5757                        }
    5858                        echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
    5959