[wp-trac] [WordPress Trac] #15145: Add a wp_list_users() template tag
WordPress Trac
noreply at wordpress.org
Tue Nov 9 00:22:49 UTC 2021
#15145: Add a wp_list_users() template tag
---------------------------------------------+-----------------------------
Reporter: greenshady | Owner: hellofromTonya
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: Users | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: template
---------------------------------------------+-----------------------------
Changes (by hellofromTonya):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"52064" 52064]:
{{{
#!CommitTicketReference repository="" revision="52064"
Users: Introduce `wp_list_users()` function.
Introduces a new function called `wp_list_users()`. Similar to other list
functions such as `wp_list_authors()`, it lists all the users of the site.
Options are available to configure the HTML output.
Following the same pattern of the other list functions, the list's HTML
output is rendered by default. Setting the `echo` argument to `false`,
returns the list's HTML output.
A new test class is included.
Props afercia, audrasjb, chriscct7, costdev, desrosj, greenshady,
hellofromTonya, mte90, nacin, rohan013, sergeybiryukov.
Fixes #15145.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15145#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list