Merge remote-tracking branch 'upstream/develop' into 1602-diaspora
This commit is contained in:
commit
e8c07aaac6
|
@ -311,6 +311,9 @@ function tryoembed($match){
|
||||||
|
|
||||||
$o = oembed_fetch_url($url);
|
$o = oembed_fetch_url($url);
|
||||||
|
|
||||||
|
if (!is_object($o))
|
||||||
|
return $match[0];
|
||||||
|
|
||||||
if (isset($match[2]))
|
if (isset($match[2]))
|
||||||
$o->title = $match[2];
|
$o->title = $match[2];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user