Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#27153 closed defect (bug) (fixed)

Post date automatically set to January

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

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 11 years ago.

Download all attachments as: .zip

Change History (6)

#1 @samuelsidler
11 years ago

  • Milestone changed from Awaiting Review to 3.9
  • Priority changed from normal to high

@iseulde
11 years ago

#2 @iseulde
11 years ago

Introduced in 27188. Patch above fixes it.

#3 @iseulde
11 years ago

  • Focuses javascript removed
  • Keywords has-patch added

#4 @SergeyBiryukov
11 years ago

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

#5 @SergeyBiryukov
11 years ago

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

In 27194:

Use correct variable. props avryl. fixes #27153.

Note: See TracTickets for help on using tickets.