Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9120 closed defect (bug) (fixed)

Quick Edit > Date > Year filed accepts 5 digits!

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

Description

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

Attachments (2)

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

Download all attachments as: .zip

Change History (5)

@sushubh
15 years ago

html code for the field!

@sivel
15 years ago

limit year to 4 characters

#1 @sivel
15 years ago

  • Keywords has-patch commit added; quick edit removed

#2 @ryan
15 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
15 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.