[wp-trac] [WordPress Trac] #38505: Single-term API endpoints should use term-specific caps
WordPress Trac
noreply at wordpress.org
Thu Nov 3 03:15:30 UTC 2016
#38505: Single-term API endpoints should use term-specific caps
------------------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+---------------------------
Changes (by rachelbaker):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39108"]:
{{{
#!CommitTicketReference repository="" revision="39108"
REST API: Return a `WP_Error` when a user does not have permission to
create or update a post with the provided terms.
Add the 'assign_term' check for post create and update.
Props boonebgorges, johnbillion.
Fixes #38505.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38505#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list