#5972 closed enhancement (duplicate)
mw_getPost and mw_getRecentPosts ignore the field "post_status"
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | XML-RPC | Keywords: | |
| Focuses: | Cc: |
Description
The field "post_status" is not included in the answer for getPost and getRecentPosts.
As a consequence, clients do not have any means to know the publish status of posts.
The fix is an easy one-liner.
Change History (2)
Note: See
TracTickets for help on using
tickets.
This is already done in -trunk, see #4982 and revision 6358 http://trac.wordpress.org/changeset/6358
You might also be interested in the new wp.getPostStatusList and wp.getPageStatusList methods, which provide list of valid statuses for posts and pages.