Remove unused variable. Props hakre. fixes #10765
git-svn-id: http://svn.automattic.com/wordpress/trunk@12367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
19ff06a6ec
commit
fee3cd75a3
|
@ -1352,8 +1352,6 @@ class WP_Http_Curl {
|
||||||
$theResponse = curl_exec( $handle );
|
$theResponse = curl_exec( $handle );
|
||||||
|
|
||||||
if ( !empty($theResponse) ) {
|
if ( !empty($theResponse) ) {
|
||||||
$parts = explode("\r\n\r\n", $theResponse);
|
|
||||||
|
|
||||||
$headerLength = curl_getinfo($handle, CURLINFO_HEADER_SIZE);
|
$headerLength = curl_getinfo($handle, CURLINFO_HEADER_SIZE);
|
||||||
$theHeaders = trim( substr($theResponse, 0, $headerLength) );
|
$theHeaders = trim( substr($theResponse, 0, $headerLength) );
|
||||||
$theBody = substr( $theResponse, $headerLength );
|
$theBody = substr( $theResponse, $headerLength );
|
||||||
|
|
Loading…
Reference in New Issue