WordPress.org

Forums

news announcement scroll
Widget registerred incorrectly (1 post)

  1. ChrisCree
    Member
    Posted 2 years ago #

    The widget is registered incorrectly using spaces in line 136 of the plugin. This means WordPress assigns an ID to the widget which won't validate on http://validator.w3.org/

    The error that is thrown says, "value of attribute "id" must be a single token" (meaning no spaces are allowed for ID's.)

    This line 136:
    wp_register_sidebar_widget('News announcement scroll', 'News announcement scroll', 'widget_news_announcement');
    should be changed to this:
    wp_register_sidebar_widget('news-announcement-scroll', 'news-announcement-scroll', 'widget_news_announcement');
    to fix this problem.

    http://wordpress.org/extend/plugins/news-announcement-scroll/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • news announcement scroll
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.