Changeset 50156 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 02/02/2021 07:01:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r50132 r50156 3254 3254 * @since 3.0.0 3255 3255 * 3256 * @global string $pagenow3257 *3258 3256 * @param int $blog_id Optional. Site ID. Default null (current site). 3259 3257 * @param string $path Optional. Path relative to the home URL. Default empty. … … 3263 3261 */ 3264 3262 function get_home_url( $blog_id = null, $path = '', $scheme = null ) { 3265 global $pagenow;3266 3267 3263 $orig_scheme = $scheme; 3268 3264 … … 3276 3272 3277 3273 if ( ! in_array( $scheme, array( 'http', 'https', 'relative' ), true ) ) { 3278 if ( is_ssl() && ! is_admin() && 'wp-login.php' !== $pagenow) {3274 if ( is_ssl() ) { 3279 3275 $scheme = 'https'; 3280 3276 } else {
Note: See TracChangeset
for help on using the changeset viewer.