In `WP_Http_Curl::request()`, `$theResponse` is unused. There are other `curl_exec()` calls that do not return as well.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28317 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5df63351b2
commit
c5463c5cb2
|
@ -1372,7 +1372,7 @@ class WP_Http_Curl {
|
||||||
return array( 'headers' => array(), 'body' => '', 'response' => array('code' => false, 'message' => false), 'cookies' => array() );
|
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 );
|
$theHeaders = WP_Http::processHeaders( $this->headers, $url );
|
||||||
$theBody = $this->body;
|
$theBody = $this->body;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue