get rid of fetch_url - post_url will be a bit harder as several plugins need to be updated
This commit is contained in:
@@ -44,7 +44,8 @@ function oembed_fetch_url($embedurl){
|
||||
$entries = $xpath->query("//link[@type='application/json+oembed']");
|
||||
foreach($entries as $e){
|
||||
$href = $e->getAttributeNode("href")->nodeValue;
|
||||
$txt = fetch_url($href . '&maxwidth=' . $a->videowidth);
|
||||
$x = z_fetch_url($href . '&maxwidth=' . $a->videowidth);
|
||||
$txt = $x['body'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user