Use home instead of PHP_SELF. Props mdawaffe. fixes #895
git-svn-id: https://develop.svn.wordpress.org/trunk@4152 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
696f300b47
commit
b79504585c
|
@ -8,7 +8,7 @@
|
|||
<?php wp_list_categories('title_li=' . __('Categories:')); ?>
|
||||
<li id="search">
|
||||
<label for="s"><?php _e('Search:'); ?></label>
|
||||
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
||||
<form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
|
||||
<div>
|
||||
<input type="text" name="s" id="s" size="15" /><br />
|
||||
<input type="submit" value="<?php _e('Search'); ?>" />
|
||||
|
|
Loading…
Reference in New Issue