[wp-trac] [WordPress Trac] #35614: Cannot check capabilities on single taxonomy terms
WordPress Trac
noreply at wordpress.org
Fri Sep 30 22:39:34 UTC 2016
#35614: Cannot check capabilities on single taxonomy terms
-------------------------------------------------+-------------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | johnbillion
Priority: normal | Status: closed
Component: Taxonomy | Milestone: 4.7
Severity: normal | Version:
Keywords: has-patch has-unit-tests commit | Resolution: fixed
needs-dev-note | Focuses:
-------------------------------------------------+-------------------------
Changes (by johnbillion):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38698"]:
{{{
#!CommitTicketReference repository="" revision="38698"
Taxonomy: Introduce more fine grained capabilities for managing taxonomy
terms.
This introduces the singular `edit_term`, `delete_term`, and `assign_term`
meta capabilities for terms, and switches the base capability name for
tags from `manage_categories` to `manage_post_tags` and the corresponding
`edit_post_tags`, `delete_post_tags`, and `assign_post_tags`.
All of these capabilities ultimately map to `manage_categories` so by
default there is no change in the behaviour of the capabilities for
categories, tags, or custom taxonomies. The `map_meta_cap` filter and the
`capabilities` argument when registering a taxonomy now allow for control
over editing, deleting, and assigning individual terms, as well as a
separation of capabilities for tags from those of categories.
Fixes #35614
Props johnjamesjacoby for feedback
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35614#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list