[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
Thu Nov 3 20:25:42 UTC 2016


#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 (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.4
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by ChopinBach):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Hi Everyone,

 I spent some time testing this and I am fairly certain there is not an
 issue with WordPress around this. Instead there is most likely some sort
 of server config error going on.

 I tested a subdomain multisite install on both nginx and apache using
 wildcard and single domain certs; everything worked as expected. I tried
 various other things to break it and it broke as expected and worked when
 I expected it to. SSL support for multisite and the API seems good.

 (Note: this was tested against what currently is in trunk; 4.7 Beta 1.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36451#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list