Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549

git-svn-id: http://svn.automattic.com/wordpress/trunk@18991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-10-18 19:18:08 +00:00
parent 3dc95bc55a
commit f1ec92751f
1 changed files with 4 additions and 2 deletions

View File

@ -391,9 +391,11 @@ if ( $s )
<?php $wp_list_table->views(); ?> <?php $wp_list_table->views(); ?>
<form method="post" action=""> <form method="get" action="">
<?php $wp_list_table->search_box( __( 'Search Installed Plugins' ), 'plugin' ); ?> <?php $wp_list_table->search_box( __( 'Search Installed Plugins' ), 'plugin' ); ?>
</form>
<form method="post" action="">
<input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" /> <input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" />
<input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" /> <input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" />