WordPress/wp-includes/rest-api/endpoints
Ryan McCue 3a449ea543 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.

Built from https://develop.svn.wordpress.org/trunk@39179


git-svn-id: http://core.svn.wordpress.org/trunk@39119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-09 03:42:30 +00:00
..
class-wp-rest-attachments-controller.php REST API: Remove rest_get_post filter and get_post abstraction. 2016-11-08 13:09:33 +00:00
class-wp-rest-comments-controller.php Roles/Capabilities: Add meta-caps for comment, term, and user meta. 2016-11-09 03:42:30 +00:00
class-wp-rest-controller.php REST API: Remove rest_get_post filter and get_post abstraction. 2016-11-08 13:09:33 +00:00
class-wp-rest-post-statuses-controller.php REST API: Switch to stable version of JSON Schema. 2016-11-03 02:22:29 +00:00
class-wp-rest-post-types-controller.php REST API: Switch to stable version of JSON Schema. 2016-11-03 02:22:29 +00:00
class-wp-rest-posts-controller.php REST API: Remove get_allowed_query_vars() now filter is gone. 2016-11-08 14:08:32 +00:00
class-wp-rest-revisions-controller.php REST API: Remove rest_get_post filter and get_post abstraction. 2016-11-08 13:09:33 +00:00
class-wp-rest-settings-controller.php REST API: Switch to stable version of JSON Schema. 2016-11-03 02:22:29 +00:00
class-wp-rest-taxonomies-controller.php REST API: Switch to stable version of JSON Schema. 2016-11-03 02:22:29 +00:00
class-wp-rest-terms-controller.php REST API: Modify the structure of our DELETE responses to be more explicit. 2016-11-04 17:11:29 +00:00
class-wp-rest-users-controller.php REST API: Fire correct hooks when creating users on multiste. 2016-11-09 01:35:30 +00:00