Opened 13 years ago
Closed 13 years ago
#26544 closed defect (bug) (duplicate)
wp_list_authors number arg and exclude admin
| Reported by: | MikeHansenMe | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
checks number and exclude admin before looping through users