Changeset 9074
- Timestamp:
- 10/03/2008 03:06:43 AM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r9073 r9074 144 144 <p class="search-box"> 145 145 <label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label> 146 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />146 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 147 147 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 148 148 </p> -
trunk/wp-admin/edit-comments.php
r9073 r9074 177 177 <p class="search-box"> 178 178 <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(); ?>" /> 180 180 <input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" /> 181 181 </p> -
trunk/wp-admin/edit-link-categories.php
r9073 r9074 80 80 <p class="search-box"> 81 81 <label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label> 82 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />82 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 83 83 <input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" /> 84 84 </p> -
trunk/wp-admin/edit-pages.php
r9073 r9074 166 166 <p class="search-box"> 167 167 <label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label> 168 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />168 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 169 169 <input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" /> 170 170 </p> -
trunk/wp-admin/edit-tags.php
r9073 r9074 147 147 <p class="search-box"> 148 148 <label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label> 149 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />149 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 150 150 <input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" /> 151 151 </p> -
trunk/wp-admin/includes/template.php
r9058 r9074 2979 2979 } 2980 2980 2981 /** 2982 * Display the search query. 2983 * 2984 * A simple wrapper to display the "s" parameter in a GET URI. This function 2985 * should only be used when {@link the_search_query()} cannot. 2986 * 2987 * @uses attribute_escape 2988 * @since 2.7.0 2989 * 2990 */ 2991 function _admin_search_query() { 2992 echo ( isset($_GET['s']) ) ? attribute_escape( stripslashes( $_GET['s'] ) ) : ''; 2993 } 2994 2981 2995 ?> -
trunk/wp-admin/link-manager.php
r9073 r9074 125 125 <p class="search-box"> 126 126 <label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label> 127 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />127 <input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 128 128 <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" /> 129 129 </p>
Note: See TracChangeset
for help on using the changeset viewer.