diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 861d1d0e4b..d998d30e0d 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -881,7 +881,7 @@ class WP_Http { $home = parse_url( get_option( 'siteurl' ) ); // Don't block requests back to ourselves by default. - if ( 'localhost' === $check['host'] || ( isset( $home['host'] ) && $home['host'] == $check['host'] ) ) { + if ( 'localhost' === $check['host'] || ( isset( $home['host'] ) && $home['host'] === $check['host'] ) ) { /** * Filters whether to block local HTTP API requests. * diff --git a/wp-includes/version.php b/wp-includes/version.php index 58426470f6..e3d85faaf3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51876'; +$wp_version = '5.9-alpha-51877'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.