WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 6 hours ago

#17793 new defect (bug)

No explanation on invalid characters on registration form

Reported by: molnarm Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 2.1
Component: Users Keywords: needs-refresh
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 (2)

17793.diff (1.9 KB) - added by solarissmoke 4 years ago.
17793.2.diff (1.9 KB) - added by MikeHansenMe 3 years ago.
same just refreshed

Download all attachments as: .zip

Change History (7)

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 @kurtpayne4 years ago

  • Cc kpayne@… added
  • Version set to 2.1

@MikeHansenMe3 years ago

same just refreshed

comment:4 @MikeHansenMe3 years ago

  • Cc mdhansen@… added

comment:5 @chriscct76 hours ago

  • Keywords needs-refresh added; has-patch removed
  • Severity changed from trivial to normal
Note: See TracTickets for help on using tickets.