Make WordPress Core

Changeset 4152


Ignore:
Timestamp:
08/31/2006 09:38:42 PM (18 years ago)
Author:
ryan
Message:

Use home instead of PHP_SELF. Props mdawaffe. fixes #895

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/classic/sidebar.php

    r3881 r4152  
    99 <li id="search">
    1010   <label for="s"><?php _e('Search:'); ?></label>
    11    <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
     11   <form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
    1212    <div>
    1313        <input type="text" name="s" id="s" size="15" /><br />
Note: See TracChangeset for help on using the changeset viewer.