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
This commit is contained in:
parent
af97ffd81c
commit
d2d6241aa5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user