Coding Standards: Use strict comparison in `wp-includes/class-http.php`.

Follow-up to [10625], [10864], [13274], [29661], [33748], [47508], [47808].

See #53359.
Built from https://develop.svn.wordpress.org/trunk@51877


git-svn-id: http://core.svn.wordpress.org/trunk@51470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-09-30 14:05:02 +00:00
parent fee2d3ed94
commit 1cad6cfc26
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*

View File

@ -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.