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:
Ryan Boren 2008-08-04 18:45:44 +00:00
parent ab2239137f
commit d64f028b60
1 changed files with 1 additions and 2 deletions

View File

@ -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;