[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 16:58:32 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
--------------------------+-------------------------------------------------
Comment(by flocsy):
I'd be happy to create a patch. The question is what would be the best
whay to decide who's the admin?
Currently this is the SQL:
{{{
WHERE user_login <> 'admin'
}}}
Would it be OK to change this to:
{{{
WHERE ID <> 1
}}}
?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9165#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list