Opened 15 years ago
Closed 15 years ago
#1586 closed defect (bug) (fixed)
Admin cannot delete accounts
Reported by: | j.conti | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | 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
@
15 years ago
- Cc jeff@… added
- Keywords has-patch needs-testing added
- Summary changed from Admin cannot delete accounts (WordPress Simple) to 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".
Allow admin user to delete other users