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:
parent
fee2d3ed94
commit
1cad6cfc26
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue