Remove trailing whitespace introduced in [35351].
Props rachelbaker Unprops johnbillion Fixes #34512 git-svn-id: https://develop.svn.wordpress.org/trunk@35462 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a701118676
commit
31f63b8b52
|
@ -255,7 +255,7 @@ function get_rest_url( $blog_id = null, $path = '/', $scheme = 'rest' ) {
|
|||
}
|
||||
|
||||
if ( is_ssl() ) {
|
||||
// If the current host is the same as the REST URL host, force the REST URL scheme to HTTPS
|
||||
// If the current host is the same as the REST URL host, force the REST URL scheme to HTTPS.
|
||||
if ( $_SERVER['SERVER_NAME'] === parse_url( get_home_url( $blog_id ), PHP_URL_HOST ) ) {
|
||||
$url = set_url_scheme( $url, 'https' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue