src/wp-includes/class-wp-http-proxy.php 1 location
|
@@ 214-217 (lines=4) @@
|
| 211 |
|
} |
| 212 |
|
} |
| 213 |
|
|
| 214 |
|
if ( !empty($wildcard_regex) ) |
| 215 |
|
return !preg_match($wildcard_regex, $check['host']); |
| 216 |
|
else |
| 217 |
|
return !in_array( $check['host'], $bypass_hosts ); |
| 218 |
|
} |
| 219 |
|
} |
| 220 |
|
|
src/wp-includes/class-http.php 1 location
|
@@ 863-866 (lines=4) @@
|
| 860 |
|
} |
| 861 |
|
} |
| 862 |
|
|
| 863 |
|
if ( !empty($wildcard_regex) ) |
| 864 |
|
return !preg_match($wildcard_regex, $check['host']); |
| 865 |
|
else |
| 866 |
|
return !in_array( $check['host'], $accessible_hosts ); //Inverse logic, If it's in the array, then we can't access it. |
| 867 |
|
|
| 868 |
|
} |
| 869 |
|
|