commit
5bbc2e820b
|
@ -11,11 +11,6 @@ function oembed_replacecb($matches){
|
||||||
|
|
||||||
|
|
||||||
function oembed_fetch_url($embedurl){
|
function oembed_fetch_url($embedurl){
|
||||||
|
|
||||||
if(! strpos('://',$embedurl)) {
|
|
||||||
// this may be wrong but it's already wrong, we can only guess
|
|
||||||
$embedurl = 'http://' . $embedurl;
|
|
||||||
}
|
|
||||||
|
|
||||||
$txt = Cache::get($embedurl);
|
$txt = Cache::get($embedurl);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue