wp-includes/class-http.php 1 location
|
@@ 842-845 (lines=4) @@
|
| 839 |
|
} |
| 840 |
|
} |
| 841 |
|
|
| 842 |
|
if ( !empty($wildcard_regex) ) |
| 843 |
|
return !preg_match($wildcard_regex, $check['host']); |
| 844 |
|
else |
| 845 |
|
return !in_array( $check['host'], $accessible_hosts ); //Inverse logic, If it's in the array, then we can't access it. |
| 846 |
|
|
| 847 |
|
} |
| 848 |
|
|
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 |
|
|