[wp-trac] [WordPress Trac] #35614: Cannot check capabilities on single taxonomy terms

WordPress Trac noreply at wordpress.org
Thu Dec 1 02:30:10 UTC 2016


#35614: Cannot check capabilities on single taxonomy terms
-----------------------------+--------------------------
 Reporter:  johnjamesjacoby  |       Owner:  johnbillion
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  4.7
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |     Focuses:
-----------------------------+--------------------------

Comment (by rachelbaker):

 In [changeset:"39402"]:
 {{{
 #!CommitTicketReference repository="" revision="39402"
 REST API: Fix incorrect capability check on term create.

 Change the capability check used in `WP_REST_Terms_Controller` when
 creating a new term is attempted, from `manage_terms` to `edit_terms`.
 This matches the behavior within the WordPress admin. See #35614.

 Props johnbillion, rmccue, rachelbaker, helen, jorbin, SergeyBiryukov.

 Fixes #38958.
 }}}

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


More information about the wp-trac mailing list