Pass id to the site-users and site-themes search form. props ocean90, fixes #16246.

git-svn-id: https://develop.svn.wordpress.org/trunk@17314 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-01-15 21:25:33 +00:00
parent bda519ae53
commit 7e475d7622
2 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,7 @@ if ( isset( $_GET['enabled'] ) ) {
<form method="get" action=""> <form method="get" action="">
<?php $wp_list_table->search_box( __( 'Search Installed Themes' ), 'theme' ); ?> <?php $wp_list_table->search_box( __( 'Search Installed Themes' ), 'theme' ); ?>
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
</form> </form>
<?php $wp_list_table->views(); ?> <?php $wp_list_table->views(); ?>

View File

@ -218,6 +218,7 @@ endif; ?>
<form class="search-form" action="" method="get"> <form class="search-form" action="" method="get">
<?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?> <?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?>
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
</form> </form>
<?php $wp_list_table->views(); ?> <?php $wp_list_table->views(); ?>