[wp-trac] [WordPress Trac] #18433: Retrieve a list of posts via XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 30 11:56:41 UTC 2011
#18433: Retrieve a list of posts via XML-RPC
------------------------------------------+------------------------------
Reporter: nprasath002 | Owner: westi
Type: feature request | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: has-patch mobile westi-likes |
------------------------------------------+------------------------------
Comment (by daniloercoli):
Replying to [comment:10 nprasath002]:
> 2. Added support for an array of post statuses. The default values are
> draft, publish, future, pending, private.
> To override this we must support array of post statuses.
> The new method supports
> draft,auto-draft, future,pending, trash, inherit, publish, private
> This means we can get trashed posts and post revisions.
I'm not sure we can expose the complete set of statuses because of the
following reasons:
- The statuses list returned by calling wp.getPostStatusList contains only
'draft', 'pending', 'private' and 'publish'.
- I'm not sure you can modify a post by setting its status to something
different from draft, publish, pending, private.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18433#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list