Opened 21 months ago
Last modified 21 months ago
#18681 new defect (bug)
XMLRPC wp.getPageList and auto-draft pages broken dates
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | XML-RPC | Version: | 3.2.1 |
| Severity: | major | Keywords: | has-patch |
| Cc: |
Description
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.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

Patch against current 3.2 branch for removing auto-drafts from listing