Fix for systems with no PHP_INFO
git-svn-id: http://svn.automattic.com/wordpress/trunk@2884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4b40f98408
commit
032349cfe1
|
@ -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" />
|
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
|
||||||
<input type="submit" id="searchsubmit" value="Search" />
|
<input type="submit" id="searchsubmit" value="Search" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue