[wp-trac] [WordPress Trac] #36451: get_rest_url() not returning SSL version of the URL when the home_url it's a subdomain
WordPress Trac
noreply at wordpress.org
Fri Jan 13 17:02:01 UTC 2017
#36451: get_rest_url() not returning SSL version of the URL when the home_url it's
a subdomain
-------------------------+-------------------------------------------------
Reporter: nicholas_io | Owner:
Type: defect | Status: reopened
(bug) | Milestone: Awaiting Review
Priority: normal | Version: 4.4
Component: REST API | Resolution:
Severity: major | Focuses: administration, multisite, rest-
Keywords: | api
-------------------------+-------------------------------------------------
Comment (by mohanjith):
Attached patch will address cases where the Host header is not set (e.g.
using IP) and when ServerName is not set, wrong or different.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36451#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list