[wp-trac] [WordPress Trac] #56914: Better guide users when deleting other users

WordPress Trac noreply at wordpress.org
Wed Dec 17 16:28:21 UTC 2025


#56914: Better guide users when deleting other users
-------------------------------------------------+-------------------------
 Reporter:  stefan.velthuys                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  7.0
Component:  Users                                |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:  ui,
  testing                                        |  multisite
-------------------------------------------------+-------------------------

Comment (by fakhriaz):

 == Patch Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested:  https://github.com/WordPress/wordpress-develop/pull/10502

 === Environment
 - WordPress: 6.9
 - PHP: 8.2.29
 - Server: nginx/1.29.3
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 143.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Gutenberg 22.2.0
   * Test Reports 1.2.1

 === Actual Results
 1.  ?Most Issues resolved with patch, except the last point with
 inconsistent results❓.

 === Additional Notes
 -✅❓ Same step (When deleting multiple users in single-site
 installations, you can now select what should happen with their contents
 individually) => check last bullet point below for more details.

 === Supplemental Artifacts
 Attachments: video attached to each step
 With one screenshot of console log.
 ----
 Steps
 git restore .
 npm run grunt patch:https://github.com/WordPress/wordpress-
 develop/pull/10502
 npm run build:dev
 - Every plugin & theme 2025 up to date.
 - Updated WP to  6.9
 - Deleted all previous users & posts
 - Created 3 users with the role of editor each (usr1, usr2 & usr3)
 - usr1, usr2 & usr3 updated role to authors
 - (deleted all previous categories except Uncategorized)
 - created post 1, post 2 & post 3
 - assigned post 1 to usr1, post 2 to usr2 & post 3 to usr3 using "Quick
 Edit"
 - ✅deleted usr1 and assigned content usr2 as in the video below
 https://drive.google.com/file/d/1oHIeCJEcx6Jt0IhQLtilB-
 bERP_KJV3X/view?usp=sharing
 or (as described in test steps)
 - ✅Delete multiple users and select another user for attribution
 here we have one user left the admin.
 https://drive.google.com/file/d/1YF-
 b5j8guL60xutO623YCcD0iLjDeOdt/view?usp=drive_link
 - ✅Recreated 3 other users and assigned 1 post to each
 - ✅Deleting users should not be possible if not all users that will be
 deleted have a selection for their content attribution:
 https://drive.google.com/file/d/1Oq7AFydhbAJQBMDhvQ2P20igE6e89OPl/view?usp=sharing
 - ✅You should not be able to select a user for content attribution that
 will be deleted
 https://drive.google.com/file/d/1IqpQ7-I9RiPp1-O3T7OSHLMnBddjLdkH/view?usp=sharing
 - ✅No default selection for content attribution, so you have to actively
 decide what should happen.
 https://drive.google.com/file/d/1WnF3-qAmXOLkcsa-
 OnftwqCesTIt2t8q/view?usp=sharing
 -❌ When deleting multiple users in single-site installations, you can now
 select what should happen with their contents individually
  https://drive.google.com/file/d/1szH2ppBAWL-
 LoZlX0OhziwdGQCppfKke/view?usp=drive_link
 https://drive.google.com/file/d/1j2TPSy_7HwEBmFEWBhUbA0u1FloFncQk/view?usp=sharing
 -✅❓ Same step (When deleting multiple users in single-site
 installations, you can now select what should happen with their contents
 individually)
 No idea why it worked before on a previous test when I did not run: npm
 run build:dev, besides, in previous tests sometimes it works sometimes it
 does not, but when I did this screencast it worked
 https://drive.google.com/file/d/1lRmaWuH-Q86c-
 8AzBS_C3Z_WHNs5tZDH/view?usp=drive_link

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


More information about the wp-trac mailing list