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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-01-14 02:40:04 +00:00
parent d7001aa719
commit cc2b577fbe
1 changed files with 2 additions and 2 deletions

View File

@ -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>';