[wp-trac] [WordPress Trac] #34945: HTTPS website with HTTP images
WordPress Trac
noreply at wordpress.org
Thu Mar 10 04:03:08 UTC 2016
#34945: HTTPS website with HTTP images
-------------------------------------------------+-------------------------
Reporter: Angristan | Owner:
Type: defect (bug) | johnbillion
Priority: normal | Status: reopened
Component: Media | Milestone: 4.5
Severity: normal | Version: 4.4
Keywords: https has-patch has-unit-tests | Resolution:
commit | Focuses:
-------------------------------------------------+-------------------------
Comment (by joemcgill):
[attachment:34945.6.diff] is the same as [attachment:34945.5.diff] but
also adds the same reverse check in `get_image_tag()` to the attachment
URL inside `wp_prepare_attachment_for_js()`.
This probably has unintended side affects, but it does fix a number of
issues for post content, including not inserting HTTPS attachments (e.g.
image, audio, video, documents, etc.) or links to media files into post
content when the `siteurl` is using an HTTP scheme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34945#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list