Make WordPress Core


Ignore:
Timestamp:
10/30/2015 09:38:36 PM (11 years ago)
Author:
johnbillion
Message:

Remove trailing whitespace introduced in [35351].

Props rachelbaker
Unprops johnbillion
Fixes #34512

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/rest-functions.php

    r35434 r35462  
    255255        }
    256256
    257         if ( is_ssl() ) { 
    258                 // If the current host is the same as the REST URL host, force the REST URL scheme to HTTPS 
    259                 if ( $_SERVER['SERVER_NAME'] === parse_url( get_home_url( $blog_id ), PHP_URL_HOST ) ) { 
    260                         $url = set_url_scheme( $url, 'https' ); 
    261                 } 
    262         } 
     257        if ( is_ssl() ) {
     258                // If the current host is the same as the REST URL host, force the REST URL scheme to HTTPS.
     259                if ( $_SERVER['SERVER_NAME'] === parse_url( get_home_url( $blog_id ), PHP_URL_HOST ) ) {
     260                        $url = set_url_scheme( $url, 'https' );
     261                }
     262        }
    263263
    264264        /**
Note: See TracChangeset for help on using the changeset viewer.