remove bookmark identifier from embedded links since they aren't bookmarkable without an associated taxonomy entry.
This commit is contained in:
parent
f1564b4cff
commit
edc7c0837b
@ -232,7 +232,7 @@ function oembed_format_object($j){
|
||||
// add link to source if not present in "rich" type
|
||||
if ( $j->type!='rich' || !strpos($j->html,$embedurl) ){
|
||||
$embedlink = (isset($j->title))?$j->title:$embedurl;
|
||||
$ret .= '<br /><span class="bookmark-identifier">#^</span>' . "<a href='$embedurl' rel='oembed'>$embedlink</a>";
|
||||
$ret .= '<br />' . "<a href='$embedurl' rel='oembed'>$embedlink</a>";
|
||||
$ret .= "<br />";
|
||||
if (isset($j->author_name)) $ret.=" by ".$j->author_name;
|
||||
if (isset($j->provider_name)) $ret.=" on ".$j->provider_name;
|
||||
|
Reference in New Issue
Block a user