[wp-trac] [WordPress Trac] #38842: Current user route redirects without context param in REST API
WordPress Trac
noreply at wordpress.org
Fri Nov 18 18:52:52 UTC 2016
#38842: Current user route redirects without context param in REST API
--------------------------------------+--------------------
Reporter: edygardelima | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------
Changes (by danielbachhuber):
* keywords: needs-patch needs-unit-tests => has-patch has-unit-tests
Comment:
`GET /wp/v2/users/me` defaults to `context=view` in trunk.
Attaching a patch that asserts this in the tests. The original report
isn't valid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38842#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list