Use correct name for feature filter REQUEST data to ensure that the search/filter form is present when a filter is active. see #20147.

git-svn-id: https://develop.svn.wordpress.org/trunk@20069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-03-02 00:41:00 +00:00
parent eee4414129
commit 31e6f087d7

View File

@ -152,7 +152,7 @@ if ( ! current_user_can( 'switch_themes' ) ) {
<h3 class="available-themes"><?php _e('Available Themes'); ?></h3> <h3 class="available-themes"><?php _e('Available Themes'); ?></h3>
<?php if ( !empty( $_REQUEST['s'] ) || !empty( $_REQUEST['filter'] ) || $wp_list_table->has_items() ) : ?> <?php if ( !empty( $_REQUEST['s'] ) || !empty( $_REQUEST['features'] ) || $wp_list_table->has_items() ) : ?>
<form class="search-form filter-form" action="" method="get"> <form class="search-form filter-form" action="" method="get">