Ready to get started?Download WordPress


[closed] Widget Search code not valid (w3c) (3 posts)

  1. Newzic
    Posted 5 years ago #

    Hello, with widgetsidebar, "Search" is not valid at
    that say:
    document type does not allow element "label" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

    So, in general-template.php, line 112
    <label class="hidden" for="s">' . __('Search for:') . '</label>

    must be
    <div><label class="hidden" for="s">' . __('Search for:') . '</label></div>

    and that's valid.

  2. Jen Mylo
    Key Master
    Posted 5 years ago #

    I'll bring this to the attention of the core devs.

  3. Jen Mylo
    Key Master
    Posted 5 years ago #

    This has been fixed in trunk, so with version 2.8 all will be well. :)

Topic Closed

This topic has been closed to new replies.

About this Topic