[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:43:48 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: needs-patch needs-unit-tests | Focuses:
------------------------------------------+--------------------
Comment (by jnylen0):
Quoting from the Slack link above - the actual issue here is a bit
different now that we're not doing this redirect any more:
> Any specific reason `/users/1` is `context=view` while `/users/me` is
`context=embed`? Causes it to skip at least registered meta fields from
the `/me` response
> `/me` was only a recently addition (used to 301) so it might have been
an oversight from then
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38842#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list