mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
d7001aa719
commit
cc2b577fbe
@ -109,8 +109,8 @@ function get_search_form() {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
$form = '<form method="get" id="searchform" action="' . get_option('home') . '/" >
|
$form = '<form method="get" id="searchform" action="' . get_option('home') . '/" >
|
||||||
<label class="hidden" for="s">' . __('Search for:') . '</label>
|
<div><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" />
|
<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')).'" />
|
<input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" />
|
||||||
</div>
|
</div>
|
||||||
</form>';
|
</form>';
|
||||||
|
Loading…
Reference in New Issue
Block a user