[buddypress-trac] [BuddyPress] #1586: Admin cannot delete accounts (was: Admin cannot delete accounts (WordPress Simple))
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sat Jan 16 19:49:15 UTC 2010
#1586: Admin cannot delete accounts
------------------------------------+---------------------------------------
Reporter: j.conti | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 1.2
Keywords: has-patch needs-testing |
------------------------------------+---------------------------------------
Changes (by jivany):
* cc: jeff@… (added)
* keywords: => has-patch needs-testing
Comment:
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".
--
Ticket URL: <http://trac.buddypress.org/ticket/1586#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list