WordPress.org

Ready to get started?Download WordPress

Forums

news announcement scroll
Widget registerred incorrectly (1 post)

  1. ChrisCree
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.