[wp-trac] [WordPress Trac] #62577: WordPress Rest API broken in 6.7.1
WordPress Trac
noreply at wordpress.org
Wed Nov 27 14:04:31 UTC 2024
#62577: WordPress Rest API broken in 6.7.1
-------------------------------------------------+-------------------------
Reporter: DoingSomeWordpress | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: REST API | Version: 6.7.1
Severity: critical | Resolution:
Keywords: reporter-feedback dev-feedback | Focuses: rest-api
needs-testing |
-------------------------------------------------+-------------------------
Comment (by antonvlasenko):
Replying to [comment:3 mayanktripathi32]:
> - Does not work as expected on browser.
I believe this is expected behavior because, in this case, the REST API
server doesn't know the identity of the user making the request (e.g., who
`/me` refers to).
For the request to work, a cookie, authorization headers, or an
alternative authentication method provided by a plugin must be used.
I also tested this in WP Playground, and the behavior is consistent
between WordPress `6.6` and `6.7` (`6.7.1` was not available at the time
of testing).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62577#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list