Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9120 closed defect (bug) (fixed)

Quick Edit > Date > Year filed accepts 5 digits!

Reported by: sushubh Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: Quick/Bulk Edit Keywords: has-patch commit
Focuses: Cc:


I do not believe why the year field should accept five fields.

Attachments (2)

date.png (2.5 KB) - added by sushubh 9 years ago.
html code for the field!
9120.diff (1.2 KB) - added by sivel 9 years ago.
limit year to 4 characters

Download all attachments as: .zip

Change History (5)

9 years ago

html code for the field!

9 years ago

limit year to 4 characters

#1 @sivel
9 years ago

  • Keywords has-patch commit added; quick edit removed

#2 @ryan
9 years ago

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

(In [10716]) Limit year field to 4 digits. Props sivel. fixes #9120

#3 @ryan
9 years ago

Can't think of any calendars that will need 5 digits with the next several millenia. Gregorian, Hebrew, and Jalali all fit within 4.

Note: See TracTickets for help on using tickets.