Wordpress/tests/phpunit/tests/xmlrpc
John Blackbourn 17ef6d8cfa Taxonomy: Introduce more fine grained capabilities for managing taxonomy terms.
This introduces the singular `edit_term`, `delete_term`, and `assign_term` meta capabilities for terms, and switches the base capability name for tags from `manage_categories` to `manage_post_tags` and the corresponding `edit_post_tags`, `delete_post_tags`, and `assign_post_tags`.

All of these capabilities ultimately map to `manage_categories` so by default there is no change in the behaviour of the capabilities for categories, tags, or custom taxonomies. The `map_meta_cap` filter and the `capabilities` argument when registering a taxonomy now allow for control over editing, deleting, and assigning individual terms, as well as a separation of capabilities for tags from those of categories.

Fixes #35614
Props johnjamesjacoby for feedback


git-svn-id: https://develop.svn.wordpress.org/trunk@38698 602fd350-edb4-49c9-b593-d223f7449a82
2016-09-30 22:39:32 +00:00
..
mt Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
mw XMLRPC: Unit tests left off [r37043] 2016-03-22 15:11:06 +00:00
wp Taxonomy: Introduce more fine grained capabilities for managing taxonomy terms. 2016-09-30 22:39:32 +00:00
basic.php XML-RPC: Add unit test to verify IXR changes in [37244]. 2016-07-05 21:58:41 +00:00
client.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:00:27 +00:00