[wp-trac] [WordPress Trac] #17180: Invalid published date insertion in posts
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 20 10:46:53 UTC 2012
#17180: Invalid published date insertion in posts
---------------------------------+---------------------
Reporter: hew | Owner: westi
Type: defect (bug) | Status: closed
Priority: high | Milestone: 3.5
Component: Date/Time | Version:
Severity: major | Resolution: fixed
Keywords: 3.5-early has-patch |
---------------------------------+---------------------
Changes (by westi):
* status: reopened => closed
* resolution: => fixed
Comment:
In [21922]:
{{{
#!CommitTicketReference repository="" revision="21922"
Posting: Improve the invalid date protection code based on feedback from
nacin.
* Introduce a wp_checkdate() function with a single filter to centralise
the code that validates dates.
* Improve the error message
* Correctly handle the return value of wp_insert_post which is not always
a WP_Error on failure
Fixes #17180
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17180#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list