Remove Twenty Ten's searchform.php and use the core get_search_form() markup. fixes #13053

git-svn-id: https://develop.svn.wordpress.org/trunk@14331 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-02 18:10:42 +00:00
parent a8912459a5
commit 881e9cc8a4
2 changed files with 1 additions and 21 deletions
+1 -1
View File
@@ -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="' . 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') .'" />