[wp-trac] [WordPress Trac] #32935: Deleting a super admin user via wpmu_delete_user should not be possible
WordPress Trac
noreply at wordpress.org
Thu Jul 9 16:15:32 UTC 2015
#32935: Deleting a super admin user via wpmu_delete_user should not be possible
--------------------------+-------------------------
Reporter: jeremyfelt | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3
Component: Users | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
--------------------------+-------------------------
Changes (by jeremyfelt):
* owner: => jeremyfelt
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"33143"]:
{{{
#!CommitTicketReference repository="" revision="33143"
Do not allow deletion of a super admin user through `wpmu_delete_user()`.
In step with the UI provided by `wp-admin/network/users.php`, super admin
privileges must be removed before a user can be deleted through the API.
Props @johnjamesjacoby, @jeremyfelt.
Fixes #32935.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32935#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list