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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-01-15 21:25:33 +00:00
parent 692a2c0ed2
commit b563e11627
2 changed files with 2 additions and 0 deletions

View File

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

View File

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