[wp-trac] [WordPress Trac] #38505: Single-term API endpoints should use term-specific caps

WordPress Trac noreply at wordpress.org
Wed Oct 26 01:45:17 UTC 2016


#38505: Single-term API endpoints should use term-specific caps
--------------------------+-----------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7
Component:  REST API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 From https://github.com/WP-API/WP-API/issues/2777:

 > Since https://core.trac.wordpress.org/ticket/35614, core has supported
 cap checks that are specific to the action as well as the term -
 edit_term, delete_term, assign_term. The single-item checks in
 WP_REST_Terms_Controller should use these caps.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38505>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list