Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#56919 new defect (bug)

REST API term embed 401 - not allowed to view terms for this post

Reported by: prionkor Owned by:
Priority: normal Milestone: Awaiting Review
Component: REST API Version: 6.0.3
Severity: blocker Keywords: dev-feedback
Cc: Focuses:

Description

Setup

  1. WP 6.0.3
  2. CPT attached with multiple taxonomies all of them registered as show_in_rest true

When calling GET at CPT rest endpoint with &embed=1 the path _embedded.wp:term returns 401 json object with error message Sorry, you are not allowed to view terms for this post.

This issue is breaking my applications and I had to rollback to 6.0.2

Change History (2)

#1 @prionkor
4 years ago

  • Keywords dev-feedback added

#2 @sabernhardt
3 years ago

  • Component GeneralREST API
Note: See TracTickets for help on using tickets.