[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
Wed May 3 16:53:21 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: johnbillion
Type: defect | Status: assigned
(bug) | Milestone: Awaiting Review
Priority: normal | Version: 4.4
Component: REST API | Resolution:
Severity: major | Focuses: administration, multisite, rest-
Keywords: https | api
-------------------------+-------------------------------------------------
Comment (by siboulet):
Also running into this issue. @nicholas_io filter aboves works for me.
Basically my Wordpress site has a CDN in front that does the SSL offload
and talks to my backend Wordpress server over plain HTTP. Even though all
links are properly returned as https:// from Wordpress, the link from
rest_url() were returned non-https.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36451#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list