Changeset 20207
- Timestamp:
- 03/18/2012 03:12:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r20183 r20207 1021 1021 } 1022 1022 1023 $is_local = isset($ args['local']) && $args['local'];1024 $ssl_verify = isset($ args['sslverify']) && $args['sslverify'];1023 $is_local = isset($r['local']) && $r['local']; 1024 $ssl_verify = isset($r['sslverify']) && $r['sslverify']; 1025 1025 if ( $is_local ) 1026 1026 $ssl_verify = apply_filters('https_local_ssl_verify', $ssl_verify); … … 1113 1113 1114 1114 // If no response, and It's not a HEAD request with valid headers returned 1115 if ( 0 == strlen($theResponse) && ('HEAD' != $ args['method'] || empty($this->headers)) ) {1115 if ( 0 == strlen($theResponse) && ('HEAD' != $r['method'] || empty($this->headers)) ) { 1116 1116 if ( $curl_error = curl_error($handle) ) 1117 1117 return new WP_Error('http_request_failed', $curl_error);
Note: See TracChangeset
for help on using the changeset viewer.