diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index d925a07b54..3cfdee4a93 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -1442,10 +1442,6 @@ class WP_Http_Curl { } } - $response = array(); - $response['code'] = curl_getinfo( $handle, CURLINFO_HTTP_CODE ); - $response['message'] = get_status_header_desc($response['code']); - curl_close( $handle ); if ( $r['stream'] ) @@ -1454,7 +1450,7 @@ class WP_Http_Curl { $response = array( 'headers' => $theHeaders['headers'], 'body' => null, - 'response' => $response, + 'response' => $theHeaders['response'], 'cookies' => $theHeaders['cookies'], 'filename' => $r['filename'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 67438ae2ff..5cf6496573 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-20141007'; +$wp_version = '4.1-alpha-20141008'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.