cleanup
This commit is contained in:
@@ -17,7 +17,8 @@ function oembed_fetch_url($embedurl){
|
||||
$txt = "";
|
||||
|
||||
// try oembed autodiscovery
|
||||
$html_text = fetch_url($embedurl);
|
||||
$redirects = 0;
|
||||
$html_text = fetch_url($embedurl, false, $redirects, 15);
|
||||
if(! $html_text)
|
||||
return;
|
||||
$dom = @DOMDocument::loadHTML($html_text);
|
||||
|
Reference in New Issue
Block a user