diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 8a68ebb726..683552d5f0 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -316,7 +316,7 @@ class WP_Http { function processResponse($strResponse) { $res = explode("\r\n\r\n", $strResponse, 2); - return array('headers' => isset($res[0]) ? $res[0] : array(), 'body' => isset($res[1]) ? $res[1] : ''); + return array('headers' => $res[0], 'body' => isset($res[1]) ? $res[1] : ''); } /**