[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
Wed Aug 14 16:06:33 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 commit  |     Focuses:
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:15 SergeyBiryukov]:
 > We already have a test for `test_wp_list_authors_exclude_admin()`, that
 seems enough here, but maybe could be expanded for multiple
 administrators.

 [attachment:"23498.6.diff"] adds a second administrator to the tests.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/23498#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list