[wp-trac] [WordPress Trac] #38958: REST API: Capability check for creating terms differs from wp-admin
WordPress Trac
noreply at wordpress.org
Thu Dec 1 02:30:08 UTC 2016
#38958: REST API: Capability check for creating terms differs from wp-admin
-------------------------------------------+--------------------------
Reporter: johnbillion | Owner: rachelbaker
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Taxonomy | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit dev-reviewed | Focuses: rest-api
-------------------------------------------+--------------------------
Changes (by rachelbaker):
* status: assigned => closed
* resolution: => fixed
Comment:
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/38958#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list