[wp-trac] [WordPress Trac] #65084: Update error message for disallowed username characters
WordPress Trac
noreply at wordpress.org
Sun May 3 19:30:15 UTC 2026
#65084: Update error message for disallowed username characters
-------------------------------------------------+-------------------------
Reporter: Marc4 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback has- | Focuses: ui-copy
unit-tests needs-refresh |
-------------------------------------------------+-------------------------
Comment (by yusufmudagal):
Tested PR https://github.com/WordPress/wordpress-develop/pull/11668
Before the patch, invalid username messages used "illegal characters" in
both `register_new_user()` and
`WP_REST_Users_Controller::check_username()`.
After the patch, both now say "disallowed characters".
Patch tests well for me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65084#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list