Changeset 46232 for trunk/src/wp-includes/class-wp-http-proxy.php
- Timestamp:
- 09/21/2019 05:40:58 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-proxy.php
r42343 r46232 153 153 154 154 /** 155 * Whether URL should be sent through the proxy server.156 * 157 * We want to keep localhost and the site URL from being sent through the proxy server, because155 * Determines whether the request should be sent through a proxy. 156 * 157 * We want to keep localhost and the site URL from being sent through the proxy, because 158 158 * some proxies can not handle this. We also have the constant available for defining other 159 159 * hosts that won't be sent through the proxy. … … 182 182 183 183 /** 184 * Filters whether to preempt sending the request through the proxy server.184 * Filters whether to preempt sending the request through the proxy. 185 185 * 186 186 * Returning false will bypass the proxy; returning true will send … … 189 189 * @since 3.5.0 190 190 * 191 * @param null$override Whether to override the request result. Default null.192 * @param string $uri URL to check.193 * @param array $check Associative array result of parsing theURI.194 * @param array $home Associative array result of parsing the site URL.191 * @param bool|null $override Whether to override the request result. Default null. 192 * @param string $uri URL to check. 193 * @param array $check Associative array result of parsing the request URI. 194 * @param array $home Associative array result of parsing the site URL. 195 195 */ 196 196 $result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home );
Note: See TracChangeset
for help on using the changeset viewer.