diff --git a/wp-includes/class-wp-http-proxy.php b/wp-includes/class-wp-http-proxy.php index f8d89ef65c..37752c001a 100644 --- a/wp-includes/class-wp-http-proxy.php +++ b/wp-includes/class-wp-http-proxy.php @@ -198,7 +198,7 @@ class WP_HTTP_Proxy { return $result; } - if ( 'localhost' == $check['host'] || ( isset( $home['host'] ) && $home['host'] == $check['host'] ) ) { + if ( 'localhost' === $check['host'] || ( isset( $home['host'] ) && $home['host'] === $check['host'] ) ) { return false; } @@ -223,7 +223,7 @@ class WP_HTTP_Proxy { if ( ! empty( $wildcard_regex ) ) { return ! preg_match( $wildcard_regex, $check['host'] ); } else { - return ! in_array( $check['host'], $bypass_hosts ); + return ! in_array( $check['host'], $bypass_hosts, true ); } } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3964812a92..48b62d863b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47507'; +$wp_version = '5.5-alpha-47508'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.