[wp-trac] [WordPress Trac] #38412: cannot update or delete user, term or comment meta via REST API
WordPress Trac
noreply at wordpress.org
Wed Nov 9 03:41:08 UTC 2016
#38412: cannot update or delete user, term or comment meta via REST API
--------------------------+---------------------
Reporter: tharsheblows | Owner: rmccue
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by rmccue):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"39179"]:
{{{
#!CommitTicketReference repository="" revision="39179"
Roles/Capabilities: Add meta-caps for comment, term, and user meta.
Additionally, use these meta-caps in the REST API endpoints.
Previously, register_meta()'s auth_callback had no effect for non-post
meta. This introduces `{add,edit,delete}_{comment,term,user}_meta` meta-
caps to match the existing post meta capabilities. These are currently
only used in the REST API.
Props tharsheblows, boonebgorges.
Fixes #38303, fixes #38412.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38412#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list