Users: Remove the “Name” column of the Users table from appearing sortable.
The “Name” column of the Users WP List Table is not sortable because this column displays a concatenation of two optional values, `first_name` and `last_name`. Even if WP_User_Query supported ordering queries in this manner, the resulting sequence would be chaotic. Fixes #28064. Props jesin, and rachelbaker. git-svn-id: https://develop.svn.wordpress.org/trunk@37314 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1bee2ff07a
commit
024c8003c9
|
@ -336,7 +336,6 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||
protected function get_sortable_columns() {
|
||||
$c = array(
|
||||
'username' => 'login',
|
||||
'name' => 'name',
|
||||
'email' => 'email',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue