[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 16 19:25:37 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 jnylen0):
 Is there any reason to ever send an `http:` URL for the REST API if
 `is_ssl()` is true?  This is guaranteed to be broken due to mixed content
 restrictions, at least in a browser context.
 See also #40771.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36451#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list