Fix notice. fixes #8082
git-svn-id: http://svn.automattic.com/wordpress/trunk@9554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0155abf585
commit
d4c55c25d6
|
@ -542,6 +542,7 @@ function _fetch_remote_file ($url, $headers = "" ) {
|
||||||
$resp->status = 500;
|
$resp->status = 500;
|
||||||
return $resp;
|
return $resp;
|
||||||
}
|
}
|
||||||
|
$response = new stdClass;
|
||||||
$response->status = $resp['response']['code'];
|
$response->status = $resp['response']['code'];
|
||||||
$response->headers = $resp['headers'];
|
$response->headers = $resp['headers'];
|
||||||
$response->results = $resp['body'];
|
$response->results = $resp['body'];
|
||||||
|
|
Loading…
Reference in New Issue