diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 8a68ebb72..683552d5f 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] : ''); } /**