Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#27153 closed defect (bug) (fixed)

Post date automatically set to January

Reported by: iseulde Owned by: SergeyBiryukov
Priority: high Milestone: 3.9
Component: Editor Version: 3.9
Severity: normal Keywords: has-patch
Cc: Focuses: administration

Description

Currently in trunk, when creating a new post, the date is set to January despite it being February.
If you click 'edit' next to Publish immediately, you'll see that January is selected. When you cancel and edit again, it rightly sets it to February.

Attachments (1)

27153.patch​ (816 bytes ) - added by iseulde 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @samuelsidler
13 years ago

  • Milestone Awaiting Review → 3.9
  • Priority normal → high

#2 @iseulde
13 years ago

Introduced in 27188. Patch above fixes it.

#3 @iseulde
13 years ago

  • Focuses javascript removed
  • Keywords has-patch added

#4 @SergeyBiryukov
13 years ago

Confirmed. [27188] changed a non-strict comparison in line 659 to a strict one.

#5 @SergeyBiryukov
13 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 27194:

Use correct variable. props avryl. fixes #27153.

Note: See TracTickets for help on using tickets.