Fix notice. fixes #8082

git-svn-id: https://develop.svn.wordpress.org/trunk@9554 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-06 20:24:29 +00:00
parent 74db484ec4
commit 439f03f597
1 changed files with 1 additions and 0 deletions

View File

@ -542,6 +542,7 @@ function _fetch_remote_file ($url, $headers = "" ) {
$resp->status = 500;
return $resp;
}
$response = new stdClass;
$response->status = $resp['response']['code'];
$response->headers = $resp['headers'];
$response->results = $resp['body'];