Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13842 closed defect (bug) (fixed)

Username database field length does not match HTML text input maxlength

Reported by: niallkennedy Owned by:
Priority: normal Milestone: 3.0
Component: Users Version:
Severity: normal Keywords: has-patch
Cc:

Description

The user_login column in $wpdb->users is defined as a variable character field of up to 60 characters. The text input field in wp-signup referencing the same column has a maxlength attribute set to 50. Values should match.

Patch to specify user_login maxlength as 60, not 50.

Attachments (1)

maxlength.diff (1.6 KB) - added by niallkennedy 3 years ago.
Set maxlength of user_login to 60 to match database value.

Download all attachments as: .zip

Change History (4)

Set maxlength of user_login to 60 to match database value.

  • Component changed from General to Users
  • Resolution set to fixed
  • Status changed from new to closed

(In [15217]) signup username length consistent with user_login field, props niallkennedy, fixes #13842

  • Milestone changed from Unassigned to 3.0
Note: See TracTickets for help on using tickets.