Changeset 31614 for trunk/src/wp-includes/post.php
- Timestamp:
- 03/05/2015 02:38:59 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r31575 r31614 4981 4981 } 4982 4982 4983 /* 4984 * If currently on SSL, prefer HTTPS URLs when we know they're supported by the domain 4985 * (which is to say, when they share the domain name of the current SSL page). 4986 */ 4987 if ( is_ssl() && 'https' !== substr( $url, 0, 5 ) && parse_url( $url, PHP_URL_HOST ) === $_SERVER['HTTP_HOST'] ) { 4988 $url = set_url_scheme( $url, 'https' ); 4989 } 4990 4983 4991 /** 4984 4992 * Filter the attachment URL.
Note: See TracChangeset
for help on using the changeset viewer.