[wp-trac] [WordPress Trac] #64690: Administration: Improve confusing error message when bulk role change skips current user
WordPress Trac
noreply at wordpress.org
Wed Mar 4 01:35:30 UTC 2026
#64690: Administration: Improve confusing error message when bulk role change skips
current user
-------------------------------------+-------------------------------------
Reporter: dpknauss | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 7.0
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-copy- | Focuses: administration, ui-
review | copy
-------------------------------------+-------------------------------------
Comment (by r1k0):
== Patch Testing Report
Patch Tested: https://core.trac.wordpress.org/attachment/ticket/64690
/err_admin_role-better-message.patch
=== Environment
- WordPress: 7.0-beta2-61752-src
- PHP: 8.3.30
- Server: nginx/1.29.5
- Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
- Browser: Chrome 145.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.1
* WordPress Importer 0.9.5
=== Steps taken
1. Log in as an Administrator.
2. Go to Users.
3. Select multiple users, including yourself.
4. Bulk Actions → Change role → Editor (or any role without
promote_users).
5. Observe the error message before and after applying the patch.
6. ✅ Patch is solving the problem.
=== Expected result
- The error message is now more descriptive and clearer to the user about
what went wrong.
=== Additional Notes
- None.
=== Screenshots/Screencast with results
Before:
[[Image(https://i.ibb.co/1G6TNC9r/change-user-role-error-before.png)]]
After:
[[Image(https://i.ibb.co/DHnJCSgS/change-user-role-error-after.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64690#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list