Changeset 8528
- Timestamp:
- 08/03/2008 09:01:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r8524 r8528 624 624 'max_redirects' => $r['redirection'], 625 625 'protocol_version' => (float) $r['httpversion'], 626 'header' => $headers 626 'header' => $headers, 627 'timeout' => $r['timeout'] 627 628 ) 628 629 ); … … 635 636 $handle = fopen($url, 'r', false, $context); 636 637 637 stream_set_timeout($handle, apply_filters('http_request_stream_timeout', $r['timeout']) );638 639 638 if ( ! $handle) 640 639 return new WP_Error('http_request_failed', sprintf(__('Could not open handle for fopen() to %s'), $url)); 640 641 stream_set_timeout($handle, apply_filters('http_request_stream_timeout', $r['timeout']) ); 641 642 642 643 if ( ! $r['blocking'] ) {
Note: See TracChangeset
for help on using the changeset viewer.