WordPress/wp-includes/rest-api
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
..
endpoints REST API: Fix _fields filtering of registered rest fields. 2020-04-09 22:54:07 +00:00
fields Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
search Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock. 2019-05-14 15:00:07 +00:00
class-wp-rest-request.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-server.php REST API: Fix namespace shadowing issue in route matching logic. 2020-02-24 18:07:08 +00:00