Make WordPress Core

Opened 10 years ago

Last modified 2 years ago

#17793 reviewing defect (bug)

No explanation on invalid characters on registration form

Reported by: molnarm Owned by: chriscct7
Milestone: Priority: normal
Severity: normal 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 (3)

17793.diff (1.9 KB) - added by solarissmoke 10 years ago.
17793.2.diff (1.9 KB) - added by MikeHansenMe 9 years ago.
same just refreshed
17793.3.diff (2.0 KB) - added by MikeHansenMe 6 years ago.

Download all attachments as: .zip

Change History (10)

#1 @SergeyBiryukov
10 years ago

  • Keywords needs-patch added; i18n-change removed

Related: [14428], #13162

10 years ago

#2 @solarissmoke
10 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?

#3 @kurtpayne
10 years ago

  • Cc kpayne@… added
  • Version set to 2.1

9 years ago

same just refreshed

#4 @MikeHansenMe
9 years ago

  • Cc mdhansen@… added

#5 @chriscct7
6 years ago

  • Keywords needs-refresh added; has-patch removed
  • Severity changed from trivial to normal

6 years ago

#6 @MikeHansenMe
6 years ago

  • Keywords has-patch added; needs-refresh removed

#7 @chriscct7
6 years ago

  • Owner set to chriscct7
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.