Opened 17 years ago
Closed 16 years ago
#1586 closed defect (bug) (fixed)
Admin cannot delete accounts
| Reported by: | j.conti | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | Keywords: | has-patch | |
| Cc: | jeff@… |
Description
Admin cannot delete accounts by Buddy bar.
Allways shows "There was a problem..."
Attachments (2)
Change History (7)
#2
@
16 years ago
- Cc added
- Keywords has-patch needs-testing added
- Summary Admin cannot delete accounts (WordPress Simple) → Admin cannot delete accounts
This issue appears to affect both WP Single and WPMU installations.
There were two issues underlying this problem. First is that the is_site_admin() function does not allow you to specify a particular user_id, it only checks the current user.
Second is that in a WP Single installation, the wpmu_delete_user() function does not exist.
Both have been addressed in the patch. I did some limited testing on a 2.9.1 WPMU and a 2.9.1 WP Single installation but I wouldn't consider my solution "fully tested".
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Allow admin user to delete other users