[wp-trac] [WordPress Trac] #39546: REST API: Improve test coverage of single users endpoint for public author data

WordPress Trac noreply at wordpress.org
Mon Jan 16 16:21:02 UTC 2017


#39546: REST API: Improve test coverage of single users endpoint for public author
data
-------------------------+----------------------
 Reporter:  rachelbaker  |       Owner:  jnylen0
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.8
Component:  REST API     |     Version:  4.7
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by jnylen0):

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


Comment:

 In [changeset:"39913"]:
 {{{
 #!CommitTicketReference repository="" revision="39913"
 REST API: Improve test coverage of single user endpoint for public data.

 Add test coverage for requests of a single user resource for authors of
 post types registered as:

 - public = true, show_in_rest = true: success without auth.
 - public = true, show_in_rest = false: fail without auth.
 - public = false, show_in_rest = true: success without auth.
 - public = false, show_in_rest = false: fail without auth.

 See #38878.
 Fixes #39546.
 }}}

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


More information about the wp-trac mailing list