diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 64024b1166..5bbfc53c60 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -3590,7 +3590,7 @@ function network_home_url( $path = '', $scheme = null ) { $orig_scheme = $scheme; if ( ! in_array( $scheme, array( 'http', 'https', 'relative' ), true ) ) { - $scheme = is_ssl() && ! is_admin() ? 'https' : 'http'; + $scheme = is_ssl() ? 'https' : 'http'; } if ( 'relative' === $scheme ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 8a5ebbf989..986ef783d9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-50167'; +$wp_version = '5.7-alpha-50168'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.