From c1f604e78ea5576e19261c0585fffe7adda9ae3d Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@19857 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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() { ?>
  • - +