From d2d6241aa509e97b432f4787acfe38fae2459b60 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 18 Nov 2015 20:18:08 +0000 Subject: [PATCH] List Tables: After [34728], don't try to infer `orderby` from query params. List tables are really good. Props cklosows. Fixes #25493. git-svn-id: https://develop.svn.wordpress.org/trunk@35682 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-posts-list-table.php | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 091ed7a083..7fd300ebe8 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -128,30 +128,6 @@ class WP_Posts_List_Table extends WP_List_Table { return current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_posts ); } - /** - * Get the value of the 'orderby' query var. - * - * @access protected - * @since 4.4.0 - * - * @return string The value of 'orderby'. - */ - protected function get_orderby() { - return strtolower( get_query_var( 'orderby' ) ); - } - - /** - * Get the value of the 'order' query var. - * - * @access protected - * @since 4.4.0 - * - * @return string The value of 'order'. - */ - protected function get_order() { - return strtolower( get_query_var( 'order' ) ); - } - /** * * @global array $avail_post_stati