Introduce WP_List_Table::search_box(). See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@17006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -79,10 +79,7 @@ if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty(
|
||||
<?php $wp_list_table->views(); ?>
|
||||
|
||||
<form action="" method="get" class="search-form">
|
||||
<p class="search-box">
|
||||
<input type="text" name="s" value="<?php echo esc_attr( $usersearch ); ?>" class="search-input" id="user-search-input" />
|
||||
<?php submit_button( __( 'Search Users' ), 'button', 'post-query-submit', false ); ?>
|
||||
</p>
|
||||
<?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?>
|
||||
</form>
|
||||
|
||||
<form id="form-user-list" action='edit.php?action=allusers' method='post'>
|
||||
@@ -90,4 +87,4 @@ if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty(
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php require_once( '../admin-footer.php' ); ?>
|
||||
<?php require_once( '../admin-footer.php' ); ?>
|
||||
|
||||
Reference in New Issue
Block a user