Improve wp_list_authors efficiency
|Reported by:||Bobcat||Owned by:||anonymous|
wp_list_authors() makes multiple queries per registered user. For example, if a blog has 50 registered users, wp_list_authors() will make over 100 queries, even if there are only a few users who can write posts.
Alexander Concha developed the attached patch which does it all with only one query total (two if "show_fullname" is enabled). However, he questions if this change belongs in the WP core. I think it does because it's such a vast improvement over the current extremely inefficient code.
Change History (15)
- Keywords needs-patch added; has-patch 2nd-opinion removed
- Priority changed from normal to low