src/wp-includes/class-http.php 1 location
|
@@ 747-750 (lines=4) @@
|
| 744 |
|
} |
| 745 |
|
} |
| 746 |
|
|
| 747 |
|
if ( !empty($wildcard_regex) ) |
| 748 |
|
return !preg_match($wildcard_regex, $check['host']); |
| 749 |
|
else |
| 750 |
|
return !in_array( $check['host'], $accessible_hosts ); //Inverse logic, If it's in the array, then we can't access it. |
| 751 |
|
|
| 752 |
|
} |
| 753 |
|
|
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 |
|
|