[wp-trac] [WordPress Trac] #23498: wp_list_authors ignores 'exclude_admin' arg when admin account has a display_name other then 'admin'
WordPress Trac
noreply at wordpress.org
Thu Sep 26 06:35:18 UTC 2019
#23498: wp_list_authors ignores 'exclude_admin' arg when admin account has a
display_name other then 'admin'
-----------------------------------+-----------------------------
Reporter: raphaabreu | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.3
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------------
Comment (by talldanwp):
@SergeyBiryukov This ticket was discussed during a triage session (link
above this comment).
The feedback was generally in agreement with your last comment that it'd
be less than ideal if the behaviour of the function changes considerably
for those who've implemented it.
One thought that I had is that given the arguments are in an options
array, it might be that `exclude_admin` can be deprecated and replaced
with `exclude_administrator_role` which has the new behaviour proposed in
the patch. That would ensure that anyone using the function in its
existing capacity doesn't see any/much change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23498#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list