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

aaron’s picture

Version: 5.x-1.3 » 6.x-1.x-dev
Status: Needs review » Fixed

Great, thanks for the fix, joachim. Got this committed to both dev branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.