mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Function to prep 's' for display on admin pages that don't run WP_Query(). Props Viper007Bond. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@9074 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -165,7 +165,7 @@ endif;
|
||||
<form class="search-form" action="<?php echo $pagenow ?>" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user