[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 Oct 10 10:59:48 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: Future Release
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------------
Comment (by knutsp):
Suggestion:
1. Add `exclude_administrators` argument to exclude any with administrator
role alone (unusual, but in this case it may open for some administrators
to be included)
2. Soft deprecate `exclude_admin` (no deprecation warning emitted)
Update docs to reflect this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23498#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list