WordPress.org

Forums

News-Ticker
Fix script url & get_usermeta (1 post)

  1. Diego Betto
    Member
    Posted 3 years ago #

    Hi,

    I suggest 2 changes:

    row 49 (ticker.php), better to use WP_PLUGIN_URL

    wp_enqueue_script ('ticker_pack', WP_PLUGIN_URL. '/news-ticker/cycle.js', array('jquery'));

    and row 369 (ticker.php), get_usermeta deprecated, use get_user_meta

    $posts[$post_id]['nickname'] = get_user_meta($post['post_author'], 'nickname');

    http://wordpress.org/extend/plugins/news-ticker/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • News-Ticker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic