WordPress/wp-includes/rest-api/endpoints
Gary Pendergast fd6f50e86f REST API: Tweak permission checks for taxonomy and term endpoints
To match behaviour in the Classic Editor, we need to slightly loosen permissions on taxonomy and term endpoints. This allows users to create terms to assign to a post that they're editing.

Props danielbachhuber.
Fixes #44096.


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


git-svn-id: http://core.svn.wordpress.org/trunk@43267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-13 04:24:25 +00:00
..
class-wp-rest-attachments-controller.php REST API: Declare user capabilities using JSON Hyper Schema's "targetSchema". 2018-07-11 06:23:27 +00:00
class-wp-rest-comments-controller.php REST API: Filter responses based on the `_fields` parameter, before data is processed. 2018-05-02 01:25:21 +00:00
class-wp-rest-controller.php REST API: Filter responses based on the `_fields` parameter, before data is processed. 2018-05-02 01:25:21 +00:00
class-wp-rest-post-statuses-controller.php REST API: Filter responses based on the `_fields` parameter, before data is processed. 2018-05-02 01:25:21 +00:00
class-wp-rest-post-types-controller.php REST API: Filter responses based on the `_fields` parameter, before data is processed. 2018-05-02 01:25:21 +00:00
class-wp-rest-posts-controller.php REST API: Expose revision count and last revision ID on Post response 2018-07-13 04:07:24 +00:00
class-wp-rest-revisions-controller.php REST API: Filter responses based on the `_fields` parameter, before data is processed. 2018-05-02 01:25:21 +00:00
class-wp-rest-settings-controller.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-rest-taxonomies-controller.php REST API: Tweak permission checks for taxonomy and term endpoints 2018-07-13 04:24:25 +00:00
class-wp-rest-terms-controller.php REST API: Tweak permission checks for taxonomy and term endpoints 2018-07-13 04:24:25 +00:00
class-wp-rest-users-controller.php REST API: When handling `who=authors` query parameter for `GET wp/v2/users`, only check `edit_posts` for post types that support `author`. 2018-05-03 06:52:21 +00:00