Make WordPress Core

Changeset 4238


Ignore:
Timestamp:
09/25/2006 02:27:51 AM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

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