In WP_Http_Curl::request(), $theResponse is unused. There are other curl_exec() calls that do not return as well.

See #27882.

Built from https://develop.svn.wordpress.org/trunk@28317


git-svn-id: http://core.svn.wordpress.org/trunk@28145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-06 18:26:14 +00:00
parent 63a210e7c8
commit 5bd852c262

View File

@ -1372,7 +1372,7 @@ class WP_Http_Curl {
return array( 'headers' => array(), 'body' => '', 'response' => array('code' => false, 'message' => false), 'cookies' => array() );
}
$theResponse = curl_exec( $handle );
curl_exec( $handle );
$theHeaders = WP_Http::processHeaders( $this->headers, $url );
$theBody = $this->body;