[wp-trac] [WordPress Trac] #15145: Add a wp_list_users() template tag
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 18 11:03:34 UTC 2010
#15145: Add a wp_list_users() template tag
-------------------------+--------------------------------------------------
Reporter: greenshady | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.1
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Now that `get_users()` has been implemented (#14572), I propose we add a
function called `wp_list_users()` that handles a basic list of users
similar to `wp_list_authors()`. WordPress has long needed a function for
handling this.
The arguments for the function would simply be the same arguments used for
`get_users()`. The `wp_list_users()` function would basically be a
function for outputting the HTML. The function should also have the
ability to link to the user's archive page and output a link to the user's
RSS feed.
This would make it easy for theme developers and users to be able to
create a users list without a lot of PHP work.
An alternate idea might be to push a few more arguments into the
`wp_list_authors()` function, but I don't think that's the best route to
go since its primary function is to list users that have written posts.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15145>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list