Opened 2 years ago

Last modified 7 months ago

#17793 new defect (bug)

No explanation on invalid characters on registration form

Reported by: molnarm Owned by:
Priority: normal Milestone: Awaiting Review
Component: Users Version: 2.1
Severity: trivial Keywords: has-patch
Cc: kpayne@…, mdhansen@…

Description

When a user tries to register with a username containing special characters (e.g. accented letters), WP shows an error message saying "This username is invalid because it uses illegal characters. Please enter a valid username.".

However, this doesn't really help the user because the message does not explain how to fix the problem, i.e. which characters are allowed.

Please consider adding a brief listing of allowed characters.

Attachments (2)

17793.diff (1.9 KB) - added by solarissmoke 21 months ago.
17793.2.diff (1.9 KB) - added by MikeHansenMe 7 months ago.
same just refreshed

Download all attachments as: .zip

Change History (6)

  • Keywords needs-patch added; i18n-change removed

Related: [14428], #13162

  • Keywords has-patch added; needs-patch removed

Patch adds a message modelled on what Google tells you when you try to sign up for an account using funky characters.

I should say that sanitize_user() also allows spaces and @ in usernames, but I'm not sure we should be encouraging that?

  • Cc kpayne@… added
  • Version set to 2.1

same just refreshed

  • Cc mdhansen@… added
Note: See TracTickets for help on using tickets.