[wp-trac] [WordPress Trac] #39466: Get list of post API request missing status

WordPress Trac noreply at wordpress.org
Sun Feb 19 04:31:14 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 commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------
Changes (by rachelbaker):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40080"]:
 {{{
 #!CommitTicketReference repository="" revision="40080"
 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.
 Fixes #39466.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39466#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list