[wp-trac] [WordPress Trac] #62577: WordPress Rest API broken in 6.7.1

WordPress Trac noreply at wordpress.org
Wed Nov 27 14:30:10 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:  normal                               |  Resolution:
 Keywords:  reporter-feedback needs-screenshots  |     Focuses:  rest-api
-------------------------------------------------+-------------------------
Changes (by mayanktripathi32):

 * keywords:  reporter-feedback dev-feedback needs-testing => reporter-
     feedback needs-screenshots
 * severity:  critical => normal


Comment:

 Replying to [comment:4 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).

 Understood. In that case, I will update the report to works as expected in
 6.7.1 ✅


 @DoingSomeWordpress Could you provide us with more information regarding
 the error? Any logs & screenshots would be helpful.

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


More information about the wp-trac mailing list