Use home instead of PHP_SELF. Props mdawaffe. fixes #895
git-svn-id: http://svn.automattic.com/wordpress/trunk@4152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
37d342ef03
commit
ad0fa5ef99
|
@ -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