Remove obsolete code from `WP_Users_List_Table::get_sortable_columns().
Sorting by post count was disabled in [17024]. Props jdgrimes. See #15861. Built from https://develop.svn.wordpress.org/trunk@35110 git-svn-id: http://core.svn.wordpress.org/trunk@35075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
319d0e8bf0
commit
2c12662eff
|
@ -333,9 +333,6 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||||
'email' => 'email',
|
'email' => 'email',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( $this->is_site_users )
|
|
||||||
unset( $c['posts'] );
|
|
||||||
|
|
||||||
return $c;
|
return $c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35109';
|
$wp_version = '4.4-alpha-35110';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue