[wp-trac] [WordPress Trac] #15145: Add a wp_list_users() template tag
WordPress Trac
noreply at wordpress.org
Tue Nov 2 03:34:45 UTC 2021
#15145: Add a wp_list_users() template tag
--------------------------------------+------------------------
Reporter: greenshady | Owner: audrasjb
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.9
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+------------------------
Changes (by costdev):
* keywords: has-patch needs-unit-tests => has-patch has-unit-tests
Comment:
Patch
[https://core.trac.wordpress.org/attachment/ticket/15145/15145.3.diff
15145.3.diff] refreshes the previous patch against trunk and adds unit
tests for the `wp_list_users()` function.
The tests for `wp_list_authors()` and unit tests written for
`wp_list_users()` in [https://github.com/WordPress/wordpress-
develop/pull/1059 PR 1059] test arguments like `exclude`. Such arguments
are handled by the call to `get_users()` and are not touched by
`wp_list_users()`.
This patch does not test these arguments and instead tests only the
expected behaviour of `wp_list_users()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15145#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list