From 3b7734f41a376695913d4fd51bed40811f85e79b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 22 Jan 2011 18:36:54 +0000 Subject: [PATCH] Add orderby and order hidden fields to each list form, to allow for state. props SergeyBiryukov, fixes #16341. git-svn-id: https://develop.svn.wordpress.org/trunk@17353 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-list-table.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index cbedddf6e5..e7ce9e52d8 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -196,6 +196,10 @@ class WP_List_Table { $input_id = $input_id . '-search-input'; + if ( ! empty( $_REQUEST['orderby'] ) ) + echo ''; + if ( ! empty( $_REQUEST['order'] ) ) + echo ''; ?>