The field help text for the embedded media has a list of allowed providers, each formatted as a URL.
However, because the zzz_custom_url.inc returns an empty URL (which is fair enough), the text for 'Custom URL' gets formatted as link to the current site's homepage, which is a little weird.
Would be better to not be a link at all.
ie line 418 of emfield module:
$urls[] = l($info['name'], $info['url'], array('target' => '_blank'));
changed to:
$urls[] = $info['url'] ? l($info['name'], $info['url'], array('target' => '_blank')) : $info['name'];
Comments
Comment #1
aaron commentedGreat, thanks for the fix, joachim. Got this committed to both dev branches.