WordPress/wp-includes/rest-api
Rachel Baker a1ec867b61 REST API: Fix incorrect capability check on term create.
Change the capability check used in `WP_REST_Terms_Controller` when creating a new term is attempted, from `manage_terms` to `edit_terms`. This matches the behavior within the WordPress admin. See #35614.

Props johnbillion, rmccue, rachelbaker, helen, jorbin, SergeyBiryukov.

Fixes #38958.
Built from https://develop.svn.wordpress.org/trunk@39402


git-svn-id: http://core.svn.wordpress.org/trunk@39342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-01 02:31:44 +00:00
..
endpoints REST API: Fix incorrect capability check on term create. 2016-12-01 02:31:44 +00:00
fields REST API: Correctly map meta keys to field names. 2016-11-21 05:41:30 +00:00
class-wp-rest-request.php REST API: Only provide JSON error code on PHP 5.3+. 2016-11-03 04:57:30 +00:00
class-wp-rest-response.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-rest-server.php Text Changes: Merge some duplicate strings with the same meaning in error messages, adjust some other strings for consistency and accuracy. 2016-11-17 15:53:33 +00:00