Make WordPress Core


Ignore:
Timestamp:
10/03/2008 03:06:43 AM (18 years ago)
Author:
ryan
Message:

Function to prep 's' for display on admin pages that don't run WP_Query(). Props Viper007Bond. see #7552

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r9073 r9074  
    177177<p class="search-box">
    178178        <label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label>
    179         <input type="text" class="search-input" id="post-search-input" name="s" value="<?php echo $search; ?>" />
     179        <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    180180        <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
    181181</p>
Note: See TracChangeset for help on using the changeset viewer.