Changeset 17566
- Timestamp:
- 03/28/2011 09:55:15 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r17563 r17566 219 219 */ 220 220 private function _dispatch_request($url, $args) { 221 static $transports = null; 222 if ( is_null($transports) ) 223 $transports = array(); 224 225 $request_order = isset($r['blocking']) && !$r['blocking'] ? 221 static $transports = array(); 222 223 $request_order = isset($args['blocking']) && !$args['blocking'] ? 226 224 array('curl', 'streams', 'fsockopen', 'exthttp') : // non-blocking order 227 225 array('exthttp', 'curl', 'streams', 'fsockopen'); // blocking order
Note: See TracChangeset
for help on using the changeset viewer.