[wp-trac] [WordPress Trac] #57078: Reading terms from a public REST endpoint is forbidden in the editor unless you can edit them

WordPress Trac noreply at wordpress.org
Fri Nov 11 17:47:22 UTC 2022


#57078: Reading terms from a public REST endpoint is forbidden in the editor unless
you can edit them
--------------------------+------------------------------
 Reporter:  TJNowell      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by TJNowell):

 Noting that I can add `context: 'view'` to the 3rd parameter of
 `getEntityRecords` but this workaround should be unnecessary for public
 endpoints

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


More information about the wp-trac mailing list