Return response in foreach loop and remove debugging line. Props santosj. see #4779

git-svn-id: http://svn.automattic.com/wordpress/trunk@8535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-08-04 18:45:44 +00:00
parent 2eb0dffaaa
commit e4a40aa709
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); $response = $transport->request($url, $r, $headers, $body);
if( !is_wp_error($response) ) if( !is_wp_error($response) )
break; return $response;
} }
return $response; return $response;
@ -649,7 +649,6 @@ class WP_Http_Streams {
) )
); );
var_dump($arrContext);
if ( ! is_null($body) ) if ( ! is_null($body) )
$arrContext['http']['content'] = $body; $arrContext['http']['content'] = $body;