Make WordPress Core

Opened 14 years ago

Last modified 8 years ago

#16833 new defect (bug)

Signup mechanism shortens usernames without warning

Reported by: hughcharlesparker's profile hughcharlesparker Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.0
Component: Users Keywords: has-ux-feedback has-patch dev-feedback
Focuses: Cc:

Description

When a user signs up for an account on a wordpress blog, if their chosen username is longer than the limit, wordpress chops of the end of the username, without warning the user, and without offering the user the opportunity to choose again.

Steps to reproduce: Go to a wordpress blog, sign up with a long username, and read the confirmation email. An example: forum.xbmc.org, which has a limit of 15 characters.

Attachments (1)

16833.diff (2.1 KB) - added by solarissmoke 14 years ago.
Insert maxlength attribute into user_login field to prevent long usernames being truncated silently

Download all attachments as: .zip

Change History (10)

#1 @scribu
14 years ago

  • Keywords ux-feedback added

@solarissmoke
14 years ago

Insert maxlength attribute into user_login field to prevent long usernames being truncated silently

#2 @solarissmoke
14 years ago

  • Keywords has-patch added

I think we're missing some maxlength attributes - these would prevent someone submitting a too-long username in the first place. Elsewhere (e.g., in show_user_form()) they are present.

Also the maxlength value for email was wrong - user_email accepts varchar(100).

#3 @nacin
14 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement
  • Version set to 3.0

#4 @hughcharlesparker
14 years ago

  • Type changed from enhancement to defect (bug)

#5 @bpetty
13 years ago

  • Component changed from General to Users

#6 @bpetty
13 years ago

Username values related: #5918, #17793

#7 @chriscct7
10 years ago

  • Keywords dev-feedback added

This ticket was mentioned in Slack in #design by karmatosed. View the logs.


8 years ago

#9 @karmatosed
8 years ago

  • Keywords has-ux-feedback added; ux-feedback removed

There should be a warning if this is a limit in place. Without it is unfair and unexpected for users.

Note: See TracTickets for help on using tickets.