Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ab2239137f
commit
d64f028b60
@ -208,7 +208,7 @@ class WP_Http {
|
||||
$response = $transport->request($url, $r, $headers, $body);
|
||||
|
||||
if( !is_wp_error($response) )
|
||||
break;
|
||||
return $response;
|
||||
}
|
||||
|
||||
return $response;
|
||||
@ -649,7 +649,6 @@ class WP_Http_Streams {
|
||||
)
|
||||
);
|
||||
|
||||
var_dump($arrContext);
|
||||
if ( ! is_null($body) )
|
||||
$arrContext['http']['content'] = $body;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user