[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 22:51:19 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 tomontoast):
According to the Codex:
> Exclude the 'admin' (login is admin) account from authors list.
So this function does work as intended. The question is whether that is
the correct functionality. I think it would be better if the user can set
which accounts to exclude like so:
{{{
wp_list_authors('exclude=admin,bob');
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9165#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list