Changeset 38053
- Timestamp:
- 07/13/2016 03:43:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-requests.php
r37694 r38053 324 324 * (Requests_Auth|array|boolean, default: false) 325 325 * - `proxy`: Proxy details to use for proxy by-passing and authentication 326 * (Requests_Proxy|array| boolean, default: false)326 * (Requests_Proxy|array|string|boolean, default: false) 327 327 * - `max_bytes`: Limit for the response body size. 328 328 * (integer|boolean, default: false) … … 576 576 } 577 577 578 if ( !empty($options['proxy'])) {578 if (is_string($options['proxy']) || is_array($options['proxy'])) { 579 579 $options['proxy'] = new Requests_Proxy_HTTP($options['proxy']); 580 580 }
Note: See TracChangeset
for help on using the changeset viewer.