From 56c18bb5af389c3df547f7453c0b41a4edef61f7 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Tue, 26 Apr 2016 20:35:29 +0000 Subject: [PATCH] =?UTF-8?q?Users:=20Remove=20the=20=E2=80=9CName=E2=80=9D?= =?UTF-8?q?=20column=20of=20the=20Users=20table=20from=20appearing=20sorta?= =?UTF-8?q?ble.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Built from https://develop.svn.wordpress.org/trunk@37314 git-svn-id: http://core.svn.wordpress.org/trunk@37280 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-users-list-table.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-users-list-table.php b/wp-admin/includes/class-wp-users-list-table.php index 9e26867df9..ba619a44c2 100644 --- a/wp-admin/includes/class-wp-users-list-table.php +++ b/wp-admin/includes/class-wp-users-list-table.php @@ -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', ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 760298054d..5a815857ec 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37313'; +$wp_version = '4.6-alpha-37314'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.