[wp-trac] [WordPress Trac] #18681: XMLRPC wp.getPageList and auto-draft pages broken dates

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 16 08:18:21 UTC 2011


#18681: XMLRPC wp.getPageList and auto-draft pages broken dates
--------------------------+-----------------------------
 Reporter:  skithund      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:  3.2.1
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 XMLRPC wp.getPageList method returns all pages, including auto-draft ones.

 auto-draft pages have post_date_gmt date as '0000-00-00 00:00:00',
 resulting in invalid dates in XMLRPC reply.

 {{{
 <name>date_created_gmt</name>
 <value><dateTime.iso8601>-0001113TT0::0::00</dateTime.iso8601></value>
 }}}

 Remove auto-drafts from wp.getPageList method or fix post_date_gmt
 somehow.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18681>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list