Opened 11 years ago
Closed 11 years ago
#26544 closed defect (bug) (duplicate)
wp_list_authors number arg and exclude admin
Reported by: | MikeHansenMe | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
When you use the exclude_admin arg it only excludes the user name 'admin' not administrative accounts. This is on by default. When you have 3 users 'admin', 'user1', and 'user2' then set the arg number to 2. I would assume it would return user1 and user2. However, it returns user1 because the first user was admin and it excluded it. I think we should check both number and exclude admin before looping through and building the return.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
checks number and exclude admin before looping through users