[wp-trac] [WordPress Trac] #54516: Full site editing/REST-API: modify permission checks to use post type.

WordPress Trac noreply at wordpress.org
Fri Nov 26 00:55:08 UTC 2021


#54516: Full site editing/REST-API: modify permission checks to use post type.
---------------------------+-----------------------
 Reporter:  peterwilsoncc  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.9
Component:  REST API       |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  rest-api
---------------------------+-----------------------

Comment (by peterwilsoncc):

 It looks like the same applies to `WP_REST_Templates_Controller` -- it was
 added in the last cycle as part of the FSE infrastructure.

 Based on my review, these are the only two end points using post types
 that this applies to. It would be helpful to have a logic check on this
 though.

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


More information about the wp-trac mailing list