Changeset 47508
- Timestamp:
- 03/26/2020 07:18:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-proxy.php
r47219 r47508 199 199 } 200 200 201 if ( 'localhost' == $check['host'] || ( isset( $home['host'] ) && $home['host']== $check['host'] ) ) {201 if ( 'localhost' === $check['host'] || ( isset( $home['host'] ) && $home['host'] === $check['host'] ) ) { 202 202 return false; 203 203 } … … 224 224 return ! preg_match( $wildcard_regex, $check['host'] ); 225 225 } else { 226 return ! in_array( $check['host'], $bypass_hosts );226 return ! in_array( $check['host'], $bypass_hosts, true ); 227 227 } 228 228 }
Note: See TracChangeset
for help on using the changeset viewer.