[wp-trac] [WordPress Trac] #39466: Get list of post API request missing status
WordPress Trac
noreply at wordpress.org
Sun Feb 19 04:35:29 UTC 2017
#39466: Get list of post API request missing status
--------------------------------------------------+-----------------------
Reporter: gnanasekaran | Owner: jnylen0
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7.3
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed-major | Focuses: rest-api
--------------------------------------------------+-----------------------
Changes (by rachelbaker):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"40081"]:
{{{
#!CommitTicketReference repository="" revision="40081"
REST API: Include the `status` property in `view` context responses from
the Posts endpoints.
Previously the status for a Post (or other post_types) was only exposed
under the `edit` context, which doesn't really make much sense considering
we support querying by post status without authentication. Originally
introduced in v2.0 beta 1: https://github.com/WP-API/WP-
API/commit/69f617d749e4f165b9e31c1c042eec45ade3e41f without any
explanation in the commit message.
Props dhanendran, jnylen0, rachelbaker.
Merges [40080] to the 4.7 branch.
Fixes #39466.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39466#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list