Support » Plugin: LDD Directory Lite » BUG in template-functions.php – Youtube links in [directory]

  • I found a bug in the template-functions.php file in line 479, so the Youtube link is not well printed in the [directory] template.

    Instead:
    ‘youtube’ => ldl_sanitize_twitter(get_post_meta($post_id, ldl_pfx(‘url_youtube’), 1)),

    This should stand:
    ‘youtube’ => ldl_force_scheme(get_post_meta($post_id, ldl_pfx(‘url_youtube’), 1)),

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘BUG in template-functions.php – Youtube links in [directory]’ is closed to new replies.