[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 Dec 12 02:30:15 UTC 2013


#23498: wp_list_authors ignores 'exclude_admin' arg when admin account has a
display_name other then 'admin'
--------------------------+------------------------------
 Reporter:  raphaabreu    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 SergeyBiryukov]:
 > I guess we have the following options to fix this:

 [attachment:ticket:26544:wp-list-author-number-exclude-admin.diff]
 implements a fourth option: populating `$query_args['exclude']` with the
 list of all administrator IDs.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23498#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list