Because we can. see #18034.
git-svn-id: https://develop.svn.wordpress.org/trunk@19406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
38eae35be6
commit
3316f10905
|
@ -157,7 +157,7 @@ function get_search_form($echo = true) {
|
||||||
return;
|
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>
|
<div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label>
|
||||||
<input type="text" value="' . get_search_query() . '" name="s" id="s" />
|
<input type="text" value="' . get_search_query() . '" name="s" id="s" />
|
||||||
<input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
|
<input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
|
||||||
|
|
Loading…
Reference in New Issue