[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 16:27:51 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 MikeHansenMe):

 I think excluding the admin before/during get users is important because
 it breaks the number arg. For example if I request 2 authors and admin is
 returned as one of them then gets excluded, it only returns 1 author even
 thought I requested 2. I have been looking at my previous patch and think
 I need to look at it a bit more but I do think it is a better approach
 because of the number issue.

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


More information about the wp-trac mailing list