From 34358d9a4283d4c5fb4ed753f9fbfb7babcae765 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@17353 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 ''; ?>