Remove unused variable. Props hakre. fixes #10765
git-svn-id: https://develop.svn.wordpress.org/trunk@12367 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e56fb80aa5
commit
a8751f57f8
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user