[wp-trac] [WordPress Trac] #19733: XML-RPC returns invalid dates if the date is zero
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 31 17:52:03 UTC 2012
#19733: XML-RPC returns invalid dates if the date is zero
-----------------------------------------------+------------------
Reporter: koke | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: XML-RPC | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch mobile needs-unit-tests |
-----------------------------------------------+------------------
Comment (by markoheijnen):
I applied the patch of koke in a way that it only applies for incorrect
dates. No matter what the post status is.
I also applied it to all the new XML-RPC methods so everything has the
same date handling.
A benefit for this patch is that _convert_date and _convert_date_gmt only
return an IXR_Date.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19733#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list