From a8751f57f8e3c52fcf81ae0284bcf6e4f013db53 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 10 Dec 2009 22:55:06 +0000 Subject: [PATCH] Remove unused variable. Props hakre. fixes #10765 git-svn-id: https://develop.svn.wordpress.org/trunk@12367 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/http.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index cd5fb6a2ed..152a825ddf 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 );