[wp-trac] [WordPress Trac] #18300: Allow sorting users by post count
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 30 20:25:45 UTC 2011
#18300: Allow sorting users by post count
-------------------------+------------------------
Reporter: sirzooro | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Users | Version: 3.2.1
Severity: normal | Resolution: duplicate
Keywords: |
-------------------------+------------------------
Changes (by SergeyBiryukov):
* keywords: needs-patch =>
Comment:
A workaround:
{{{
function allow_order_by_post_count($columns) {
$columns['posts'] = 'post_count';
return $columns;
}
add_filter('manage_users_sortable_columns', 'allow_order_by_post_count');
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18300#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list