[wp-trac] [WordPress Trac] #16293: In multisite installs, users with id 1 can't be deleted (was: In multisite installs, users with id 1 or 2 can't be deleted)
WordPress Trac
noreply at wordpress.org
Fri Mar 28 20:02:56 UTC 2014
#16293: In multisite installs, users with id 1 can't be deleted
------------------------------+------------------------
Reporter: PeteMall | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.9
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: multisite
------------------------------+------------------------
Old description:
> You can't delete a user with user id of 1 or 2.
> See: source:trunk/wp-admin/network/edit.php at 17326#L359
New description:
You can't delete a user with user id of 1.
See: source:trunk/wp-admin/network/edit.php at 17326#L359
--
Comment (by nacin):
This harks back to http://mu.trac.wordpress.org/changeset/297 (wow secure
very). It's also always been just user ID 1, never 2.
This used to be the same way for sites, too, but it got switched to
$current_site->blog_id at some point.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16293#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list