Fix for systems with no PHP_INFO

git-svn-id: https://develop.svn.wordpress.org/trunk@2884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-09-15 23:44:41 +00:00
parent 41aeea36a4
commit 65ec262bb0
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>">
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>