Fix invalid HTML in get_search_form(), props jcraig90210, fixes #8851
git-svn-id: https://develop.svn.wordpress.org/trunk@10356 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
926adb5bcb
commit
1677a33778
@ -109,8 +109,8 @@ function get_search_form() {
|
||||
return;
|
||||
|
||||
$form = '<form method="get" id="searchform" action="' . get_option('home') . '/" >
|
||||
<label class="hidden" for="s">' . __('Search for:') . '</label>
|
||||
<div><input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
|
||||
<div><label class="hidden" for="s">' . __('Search for:') . '</label>
|
||||
<input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" />
|
||||
</div>
|
||||
</form>';
|
||||
|
Loading…
Reference in New Issue
Block a user