mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
In [43736], we prevented rendering fields when not present in `?_fields=`. However, because `get_fields_for_response()` is dependent on `get_item_schema()`, any custom fields registered with a null schema would be incorrectly excluded from the response. Because the REST API permits a null schema for `register_rest_field()`, those fields should be included in the available fields for a response. Fixes #45220. Built from https://develop.svn.wordpress.org/branches/5.0@43908 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43740 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
|---|---|---|
| .. | ||
| class-wp-rest-attachments-controller.php | ||
| class-wp-rest-autosaves-controller.php | ||
| class-wp-rest-block-renderer-controller.php | ||
| class-wp-rest-blocks-controller.php | ||
| class-wp-rest-comments-controller.php | ||
| class-wp-rest-controller.php | ||
| class-wp-rest-post-statuses-controller.php | ||
| class-wp-rest-post-types-controller.php | ||
| class-wp-rest-posts-controller.php | ||
| class-wp-rest-revisions-controller.php | ||
| class-wp-rest-search-controller.php | ||
| class-wp-rest-settings-controller.php | ||
| class-wp-rest-taxonomies-controller.php | ||
| class-wp-rest-terms-controller.php | ||
| class-wp-rest-themes-controller.php | ||
| class-wp-rest-users-controller.php | ||