[wp-trac] [WordPress Trac] #52421: Remove admin and login exceptions for https in home_url
WordPress Trac
noreply at wordpress.org
Sat Feb 20 01:36:02 UTC 2021
#52421: Remove admin and login exceptions for https in home_url
--------------------------+-----------------------------
Reporter: herregroen | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by SergeyBiryukov):
Replying to [ticket:52421 herregroen]:
> Right now the home_url function will automatically switch to https if
the current request is already https but will do so only on the front-end.
For reference, just noting that [source:tags/5.6.1/src/wp-
includes/post.php?marks=6208-6211#L6200 wp_get_attachment_url()] has a
similar exception that may or may not need to be removed later. See
[32342] / #32112.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52421#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list