Make WordPress Core

Changeset 10356


Ignore:
Timestamp:
01/14/2009 02:40:04 AM (16 years ago)
Author:
azaozz
Message:

Fix invalid HTML in get_search_form(), props jcraig90210, fixes #8851

File:
1 edited

Legend:

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

    r10348 r10356  
    110110
    111111    $form = '<form method="get" id="searchform" action="' . get_option('home') . '/" >
    112     <label class="hidden" for="s">' . __('Search for:') . '</label>
    113     <div><input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
     112    <div><label class="hidden" for="s">' . __('Search for:') . '</label>
     113    <input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
    114114    <input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" />
    115115    </div>
Note: See TracChangeset for help on using the changeset viewer.