[wp-trac] [WordPress Trac] #15861: Sorting users by post count
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 18 01:12:52 UTC 2011
#15861: Sorting users by post count
--------------------------------------+-----------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback |
--------------------------------------+-----------------------------
Comment (by nacin):
We could potentially do `select post_author from $wpdb->posts where
post_type = 'post' and post_status = 'publish' group by post_author order
by count(ID) desc`, then use that data to sort in PHP.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15861#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list