WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#13842 closed defect (bug) (fixed)

Username database field length does not match HTML text input maxlength

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

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 10 years ago.
Set maxlength of user_login to 60 to match database value.

Download all attachments as: .zip

Change History (4)

@niallkennedy
10 years ago

Set maxlength of user_login to 60 to match database value.

#1 @niallkennedy
10 years ago

  • Component changed from General to Users

#2 @wpmuguru
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

#3 @nacin
10 years ago

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