[wp-trac] [WordPress Trac] #32112: wp_get_attachment_url returns https when it should not
WordPress Trac
noreply at wordpress.org
Mon May 4 13:09:18 UTC 2015
#32112: wp_get_attachment_url returns https when it should not
-------------------------------------+---------------------------
Reporter: zabatonni | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2.2
Component: Media | Version: 4.2
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"32342"]:
{{{
#!CommitTicketReference repository="" revision="32342"
Attachment URLs should only be forced to SSL on the front end.
Detecting SSL status on the Dashboard introduces problems when writing
content
that is saved to the database and then displayed on the front end, where
SSL
may be optional (or impossible, due to self-signed certificates). The new
approach parallels the logic in `get_home_url()` for forcing HTTPS.
See [31614] #15928 for background.
Fixes #32112 for trunk.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32112#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list