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

WordPress Trac noreply at wordpress.org
Thu Dec 1 02:45:40 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:"39403"]:
 {{{
 #!CommitTicketReference repository="" revision="39403"
 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.

 Merges [39402] to the 4.7 branch.
 Fixes #38958 for 4.7.
 }}}

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


More information about the wp-trac mailing list