WordPress/wp-includes/rest-api/endpoints
whyisjake f4270351c3 REST API: Fix _fields filtering of registered rest fields.
Use rest_is_field_included when determining which additional fields to include to permit filtering by nested field properties.

Backportting r47511 to the 5.4 branch.

Props Dudo, kadamwhite, TimothyBlynJacobs.
Fixes #49648.

Built from https://develop.svn.wordpress.org/branches/5.4@47563


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-09 22:54:07 +00:00
..
class-wp-rest-attachments-controller.php Docs: Improve documentation for WP_REST_Attachments_Controller. 2020-02-28 12:31:08 +00:00
class-wp-rest-autosaves-controller.php Docs: Use more specific types in parameter descriptions in place of mixed. 2020-03-01 10:38:07 +00:00
class-wp-rest-block-renderer-controller.php Docs: Improve documentation for WP_REST_Attachments_Controller. 2020-02-28 12:31:08 +00:00
class-wp-rest-blocks-controller.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-rest-comments-controller.php Docs: Improve documentation for WP_REST_Attachments_Controller. 2020-02-28 12:31:08 +00:00
class-wp-rest-controller.php REST API: Fix _fields filtering of registered rest fields. 2020-04-09 22:54:07 +00:00
class-wp-rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-post-types-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-posts-controller.php REST API: Introduce rest_{$this->post_type}_item_schema filter to enable manipulation of schema values. 2020-02-11 16:28:06 +00:00
class-wp-rest-revisions-controller.php REST API: Fix revisions controller get_item permission check. 2020-04-09 22:52:07 +00:00
class-wp-rest-search-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-settings-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-terms-controller.php REST API: Merge "not allowed to create new terms" permission error message with an existing string. 2020-02-02 05:41:03 +00:00
class-wp-rest-themes-controller.php REST API: Fix typo in disable-custom-gradients theme feature description. 2020-03-09 00:14:41 +00:00
class-wp-rest-users-controller.php Docs: Use more specific types in parameter descriptions in place of mixed. 2020-03-01 10:38:07 +00:00