Changeset 45771
- Timestamp:
- 08/08/2019 08:19:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r45736 r45771 374 374 } 375 375 376 if ( is_ssl() ) {376 if ( is_ssl() && isset( $_SERVER['SERVER_NAME'] ) ) { 377 377 // If the current host is the same as the REST URL host, force the REST URL scheme to HTTPS. 378 378 if ( $_SERVER['SERVER_NAME'] === parse_url( get_home_url( $blog_id ), PHP_URL_HOST ) ) {
Note: See TracChangeset
for help on using the changeset viewer.