From 7cd04da2e67bab64270154bf95bf855dc87eef04 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 7 Feb 2012 21:06:52 +0000 Subject: [PATCH] Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094 git-svn-id: https://develop.svn.wordpress.org/trunk@19857 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-theme-install-list-table.php | 4 ++-- wp-admin/includes/theme-install.php | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index 7fb06f78c1..d68ff3b213 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -66,8 +66,8 @@ class WP_Theme_Install_List_Table extends WP_List_Table { break; } - if ( !empty( $_POST['features'] ) ) { - $terms = $_POST['features']; + if ( !empty( $_REQUEST['features'] ) ) { + $terms = $_REQUEST['features']; $terms = array_map( 'trim', $terms ); $terms = array_map( 'sanitize_title_with_dashes', $terms ); $args['tag'] = $terms; diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 246bba4466..40f4b85518 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -77,8 +77,10 @@ function install_themes_dashboard() { install_theme_search_form(); ?>

-

+ + + '; @@ -94,7 +96,7 @@ function install_themes_dashboard() { ?>
  • - +