[wp-trac] [WordPress Trac] #39399: REST API: Tests for the view or embed response data for the Users Controller are incomplete

WordPress Trac noreply at wordpress.org
Mon Jan 2 18:42:27 UTC 2017


#39399: REST API: Tests for the view or embed response data for the Users
Controller are incomplete
------------------------------+--------------------------
 Reporter:  rachelbaker       |       Owner:  rachelbaker
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.8
Component:  REST API          |     Version:  4.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by rachelbaker):

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


Comment:

 In [changeset:"39660"]:
 {{{
 #!CommitTicketReference repository="" revision="39660"
 REST API: Add missing assertions to the view and embed context response
 data for the Users Controller.

 Adds tests for responses where `context != 'edit'` the following
 properties are not included in the response data:
 - `email`
 - `locale`
 - `registered_date`

 Props thepelkus, jnylen0.
 Fixes #39399.
 }}}

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


More information about the wp-trac mailing list