Make WordPress Core


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

the_search_query() from mdawaffe. fixes #914

File:
1 edited

Legend:

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

    r4016 r4171  
    3131         <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
    3232            <p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    33             for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
     33            for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
    3434
    3535            <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
Note: See TracChangeset for help on using the changeset viewer.