Make WordPress Core

Opened 4 years ago

Last modified 2 years ago

#17793 new defect (bug)

No explanation on invalid characters on registration form

Reported by: molnarm Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 2.1
Component: Users Keywords: has-patch
Focuses: Cc:


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 4 years ago.
17793.2.diff (1.9 KB) - added by MikeHansenMe 2 years ago.
same just refreshed

Download all attachments as: .zip

Change History (6)

comment:1 @SergeyBiryukov4 years ago

  • Keywords needs-patch added; i18n-change removed

Related: [14428], #13162

@solarissmoke4 years ago

comment:2 @solarissmoke4 years ago

  • 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?

comment:3 @kurtpayne3 years ago

  • Cc kpayne@… added
  • Version set to 2.1

@MikeHansenMe2 years ago

same just refreshed

comment:4 @MikeHansenMe2 years ago

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