WordPress.org

Make WordPress Core

Changeset 22093


Ignore:
Timestamp:
10/01/2012 07:51:23 PM (6 years ago)
Author:
ryan
Message:

Respect ssl for the image src link in edit_form_image_editor(). see #21391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r22077 r22093  
    21422142
    21432143        <div class="wp_attachment_image" id="media-head-<?php echo $attachment_id; ?>">
    2144             <p><img class="thumbnail" src="<?php echo $thumb_url[0]; ?>" style="max-width:100%" width="<?php echo $thumb_url[1]; ?>" alt="" /></p>
     2144            <p><img class="thumbnail" src="<?php echo set_url_scheme( $thumb_url[0] ); ?>" style="max-width:100%" width="<?php echo $thumb_url[1]; ?>" alt="" /></p>
    21452145            <p><?php echo $image_edit_button; ?></p>
    21462146        </div>
Note: See TracChangeset for help on using the changeset viewer.