[wp-trac] Re: [WordPress Trac] #3944: Entering an invalid post timestamp will be tolerated and results in bad view links

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 10 04:31:58 GMT 2007


#3944: Entering an invalid post timestamp will be tolerated and results in bad
view links
----------------------------+-----------------------------------------------
 Reporter:  erikwasser      |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  low             |    Milestone:  2.2      
Component:  Administration  |      Version:  2.1.2    
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by jhodgdon):

 I tried to test this in [5012].

 When I followed the instructions, using an April 31st date, and saving
 (not publishing), when I went back to the screen, the date was set to May
 1.

 When I tried publishing, it also worked fine. But in this testing blog, I
 didn't have permalink structure using dates.

 So I changed to a permalink structure using dates, the standard one:

 /%year%/%monthnum%/%day%/%postname%/

 The already-published article now has a permalink with a May 1 date in it,
 and as reported by the person above, the permalink is invalid (click on
 the article title and it goes to a "cannot find anything" page).

 In the MySQL database, the post_date field is 2006-04-31 21:19:57, while
 post_date_GMT is OK (May 2nd, due to my time zone).

 So, I have verified it is a real bug, and I will see what I can do about
 fixing it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3944#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list