WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 10 months ago

#17793 reviewing defect (bug)

No explanation on invalid characters on registration form

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

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 (3)

17793.diff (1.9 KB) - added by solarissmoke 5 years ago.
17793.2.diff (1.9 KB) - added by MikeHansenMe 4 years ago.
same just refreshed
17793.3.diff (2.0 KB) - added by MikeHansenMe 13 months ago.

Download all attachments as: .zip

Change History (10)

#1 @SergeyBiryukov
5 years ago

  • Keywords needs-patch added; i18n-change removed

Related: [14428], #13162

@solarissmoke
5 years ago

#2 @solarissmoke
5 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
5 years ago

  • Cc kpayne@… added
  • Version set to 2.1

@MikeHansenMe
4 years ago

same just refreshed

#4 @MikeHansenMe
4 years ago

  • Cc mdhansen@… added

#5 @chriscct7
13 months ago

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

#6 @MikeHansenMe
10 months ago

  • Keywords has-patch added; needs-refresh removed

#7 @chriscct7
10 months ago

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