[wp-trac] [WordPress Trac] #16293: In multisite installs, users with id 1 can't be deleted

WordPress Trac noreply at wordpress.org
Sat Oct 7 08:06:44 UTC 2023


#16293: In multisite installs, users with id 1 can't be deleted
-------------------------------------------------+-------------------------
 Reporter:  PeteMall                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.4
Component:  Users                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by oglekler):

 If a user with ID = 1 can be created for testing purposes, patch can be
 covered with a test 🤔 It needs to be checked.
 https://github.com/WordPress/wordpress-
 develop/blob/trunk/tests/phpunit/tests/user/wpDeleteUser.php

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/16293#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list