Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #36451, comment 12


Ignore:
Timestamp:
01/13/2017 05:20:12 PM (8 years ago)
Author:
nicholas_io
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36451, comment 12

    v1 v2  
    11It's been a while that I debug this but it looks like get_rest_url calls `get_home_url` passing 'rest' scheme (I'm not sure what that means exactly) but that caused the url to be returned without https and the quoted block failed to set the https scheme due to @igmoweb explanation.
    22
    3 BTW, this is how I fixed this issue: forcing https using the rest_url
     3BTW, this is how I fixed this issue: forcing https using the rest_url filter
    44{{{#!php
    55<?php