[wp-trac] Re: [WordPress Trac] #9165: wp_list_authors: exclude_admin doesn't work if user_login <> 'admin'

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 18 19:00:28 GMT 2009


#9165: wp_list_authors: exclude_admin doesn't work if user_login <> 'admin'
--------------------------+-------------------------------------------------
 Reporter:  flocsy        |       Owner:  anonymous                                          
     Type:  defect (bug)  |      Status:  new                                                
 Priority:  low           |   Milestone:  2.8                                                
Component:  General       |     Version:  2.7                                                
 Severity:  minor         |    Keywords:  wp_list_authors exclude_admin has-patch 2nd-opinion
--------------------------+-------------------------------------------------

Comment(by mrmist):

 It would really depend on what the exclude_admin is meant to do.  If it
 literally excludes "admin" then it's working as designed.  Otherwise if it
 is meant to exclude ALL admins then it should really be checking against
 admin like role membership, because there could be more than one admin not
 necessarily just ID = 1.

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


More information about the wp-trac mailing list