diff --git wp-includes/link-template.php wp-includes/link-template.php
index 0d8e0a2..5a80a1c 100644
|
|
|
function get_home_url( $blog_id = null, $path = '', $scheme = null ) {
|
| 2743 | 2743 | } |
| 2744 | 2744 | |
| 2745 | 2745 | if ( ! in_array( $scheme, array( 'http', 'https', 'relative' ) ) ) { |
| 2746 | | if ( is_ssl() && ! is_admin() && isset( $GLOBALS['pagenow'] ) && 'wp-login.php' !== $GLOBALS['pagenow'] ) |
| | 2746 | if ( is_ssl() && ! is_admin() && 'wp-login.php' !== $GLOBALS['pagenow'] ) |
| 2747 | 2747 | $scheme = 'https'; |
| 2748 | 2748 | else |
| 2749 | 2749 | $scheme = parse_url( $url, PHP_URL_SCHEME ); |