[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
Tue May 23 23:09:40 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: 4.8
Priority: normal | Version: 4.4
Component: REST API | Resolution:
Severity: major | Focuses: administration, multisite, rest-
Keywords: https | api
-------------------------+-------------------------------------------------
Comment (by jnylen0):
@igmoweb @nicholas_io does [attachment:36451.3.diff] fix the issue for
you?
@johnbillion we definitely need to remove the hostname check for the
`is_admin()` case. For the broader `is_ssl()` case it seems reasonable to
me to remove it also. What do you think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36451#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list