WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 5 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:

Description

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

Attachments (2)

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

Download all attachments as: .zip

Change History (5)

@sushubh6 years ago

html code for the field!

@sivel6 years ago

limit year to 4 characters

comment:1 @sivel6 years ago

  • Keywords has-patch commit added; quick edit removed

comment:2 @ryan6 years ago

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

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

comment:3 @ryan6 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.