Make WordPress Core

Opened 22 months ago

Last modified 9 months ago

#56919 new defect (bug)

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

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

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
22 months ago

  • Keywords dev-feedback added

#2 @sabernhardt
9 months ago

  • Component changed from General to REST API
Note: See TracTickets for help on using tickets.