From c5463c5cb2c31f33b134c8e660d05e8695441249 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 18:26:00 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index 13cf1442fe..efa20f2c74 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -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;