[wp-trac] [WordPress Trac] #17180: Invalid published date insertion in posts

WordPress Trac wp-trac at lists.automattic.com
Fri May 20 17:24:01 UTC 2011


#17180: Invalid published date insertion in posts
--------------------------+------------------
 Reporter:  hew           |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by westi):

 * keywords:  close => needs-patch
 * milestone:  Awaiting Review => 3.2


Comment:

 Replying to [comment:2 solarissmoke]:
 > Even if you bypass the JS, the date fields are validated server side and
 invalid values are ignored (so Feb 29, 2011 will not be saved as a future
 publish date). So I don't see what the problem is?

 We end up with a valid date in post_date_gmt and an invalid one in
 post_date.

 I think with newer mysql the insertion may fail

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17180#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list