Make WordPress Core


Ignore:
Timestamp:
05/04/2009 09:28:58 PM (17 years ago)
Author:
ryan
Message:

Use invisible class for hiding labels and legends.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r11173 r11180  
    120120
    121121        $form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" >
    122         <div><label class="hidden" for="s">' . __('Search for:') . '</label>
     122        <div><label class="invisible" for="s">' . __('Search for:') . '</label>
    123123        <input type="text" value="' . attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
    124124        <input type="submit" id="searchsubmit" value="'. _a('Search') .'" />
Note: See TracChangeset for help on using the changeset viewer.