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:
Ryan Boren 2006-08-31 21:38:42 +00:00
parent 696f300b47
commit b79504585c
1 changed files with 1 additions and 1 deletions

View File

@ -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'); ?>" />