WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/16/2010 08:45:10 PM (11 years ago)
Author:
scribu
Message:

Introduce WP_List_Table::search_box(). See #15353

File:
1 edited

Legend:

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

    r16990 r17006  
    221221<form id="comments-form" action="" method="post">
    222222
    223 <?php if ( $wp_list_table->has_items() ) : ?>
    224 
    225 <p class="search-box">
    226     <label class="screen-reader-text" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
    227     <input type="text" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    228     <?php submit_button( __( 'Search Comments' ), 'button', 'submit', false ); ?>
    229 </p>
    230 
    231 <?php endif; ?>
     223<?php $wp_list_table->search_box( __( 'Search Comments' ), 'comment' ); ?>
    232224
    233225<?php if ( $post_id ) : ?>
Note: See TracChangeset for help on using the changeset viewer.