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

WordPress Trac noreply at wordpress.org
Sat Dec 3 05:08:36 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 pento):

 In [changeset:"39465"]:
 {{{
 #!CommitTicketReference repository="" revision="39465"
 REST API: Capability check for editing a single term should use the
 singular form.

 As an extra level of sanity checking, the term ID should be cast as an int
 in `map_meta_cap()`.

 Merge of [39464] to the 4.7 branch.

 Props johnbillion, nacin, dd32, pento.
 See #35614.
 Fixes #39012.
 }}}

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


More information about the wp-trac mailing list