[wp-trac] [WordPress Trac] #52146: get_self_link does not support SSL
WordPress Trac
noreply at wordpress.org
Tue Dec 22 04:50:31 UTC 2020
#52146: get_self_link does not support SSL
--------------------------+-------------------------
Reporter: dshanske | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.7
Component: General | Version: 5.3
Severity: minor | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
The get_self_link function introduced in 5.3, which merely moved the code
from self_link, will always return http links.
It should use, is_ssl() to determine if it returns http or https.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52146>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list