mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-26 14:23:00 +02:00
List Tables: After [34728], don't try to infer orderby
from query params.
List tables are really good. Props cklosows. Fixes #25493. Built from https://develop.svn.wordpress.org/trunk@35682 git-svn-id: http://core.svn.wordpress.org/trunk@35646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8caf5d9759
commit
af0498989c
@ -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
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta4-35681';
|
||||
$wp_version = '4.4-beta4-35682';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user