diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index daf73ca016..64024b1166 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -3253,6 +3253,8 @@ function home_url( $path = '', $scheme = null ) { * * @since 3.0.0 * + * @global string $pagenow + * * @param int $blog_id Optional. Site ID. Default null (current site). * @param string $path Optional. Path relative to the home URL. Default empty. * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts @@ -3260,6 +3262,8 @@ function home_url( $path = '', $scheme = null ) { * @return string Home URL link with optional path appended. */ function get_home_url( $blog_id = null, $path = '', $scheme = null ) { + global $pagenow; + $orig_scheme = $scheme; if ( empty( $blog_id ) || ! is_multisite() ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 1f3938e90d..bc2131f824 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-50163'; +$wp_version = '5.7-alpha-50164'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.