From fee3cd75a3fb19bddf9ead000ca4ff926d2a3589 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 10 Dec 2009 22:55:06 +0000 Subject: [PATCH] Remove unused variable. Props hakre. fixes #10765 git-svn-id: http://svn.automattic.com/wordpress/trunk@12367 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/http.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index cd5fb6a2e..152a825dd 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -1352,8 +1352,6 @@ class WP_Http_Curl { $theResponse = curl_exec( $handle ); if ( !empty($theResponse) ) { - $parts = explode("\r\n\r\n", $theResponse); - $headerLength = curl_getinfo($handle, CURLINFO_HEADER_SIZE); $theHeaders = trim( substr($theResponse, 0, $headerLength) ); $theBody = substr( $theResponse, $headerLength );