[wp-trac] [WordPress Trac] #10329: sort_by and count_limit options for wp_list_authors
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 1 17:57:33 UTC 2010
#10329: sort_by and count_limit options for wp_list_authors
-----------------------------+----------------------------------------------
Reporter: takaitra | Owner: westi
Type: feature request | Status: reviewing
Priority: normal | Milestone: Future Release
Component: Template | Version:
Severity: normal | Keywords: needs-patch
-----------------------------+----------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: has-patch => needs-patch
Comment:
there's also an error in the query: the $wpdb->posts table used in the
count() statement isn't always defined.
I think that the count()/group by statements should only be present when
the count information is requested.
likewise, LEFT JOIN $wpdb->usermeta AS meta_capabilities doesn't seem to
be used. shouldn't that be more like an inner join, which would get tossed
in if and only if non-empty authors are not requested?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10329#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list