Make WordPress Core


Ignore:
Timestamp:
09/07/2006 05:37:26 PM (18 years ago)
Author:
ryan
Message:

the_search_query() from mdawaffe. fixes #914

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/searchform.php

    r3134 r4171  
    11<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
    2 <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
     2<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    33<input type="submit" id="searchsubmit" value="Search" />
    44</div>
Note: See TracChangeset for help on using the changeset viewer.