WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10780 closed defect (bug) (duplicate)

historical dates (pre 1-1-1970) not possible

Reported by: herko Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.4
Component: Date/Time Keywords: historical date
Focuses: Cc:

Description

In a fresh install of WP 2.8.4, running on Linux, php 5 (on MediaTemple GridServer), when trying to change the date of a post to 1814 (or any pre 1-1-1970 date, for that matter), the date is changed automagically to 1-1-1970, including the permalink %day% %month% and %year% values.
Thus, rendering it impossible to create an archive of historical, pre-1970 content.

In this wp-forums thread it is discussed: http://wordpress.org/support/topic/285531?replies=12, and a solution is suggested here: http://core.trac.wordpress.org/attachment/ticket/10332/functions.php.diff

But removing those lines does not solve the bug. So it must be somewhere else where there is a check on negative date values in WP 2.8.4.

Change History (1)

comment:1 dd325 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #10332 where that suggested fix is from.

Note: See TracTickets for help on using tickets.