summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/home/searchform.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-content/themes/home/searchform.php')
-rw-r--r--wp-content/themes/home/searchform.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-content/themes/home/searchform.php b/wp-content/themes/home/searchform.php
index c7c73f1..2282083 100644
--- a/wp-content/themes/home/searchform.php
+++ b/wp-content/themes/home/searchform.php
@@ -1,5 +1,5 @@
-<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
-<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
+<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
+<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>