Because we can. see #18034.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6f18d8e035
commit
b4debb9648
|
@ -157,7 +157,7 @@ function get_search_form($echo = true) {
|
|||
return;
|
||||
}
|
||||
|
||||
$form = '<form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" >
|
||||
$form = '<form role="search" method="get" id="searchform" action="' . esc_url( home_url( '/' ) ) . '" >
|
||||
<div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label>
|
||||
<input type="text" value="' . get_search_query() . '" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
|
||||
|
|
Loading…
Reference in New Issue