WordPress/wp-includes/rest-api/endpoints
K. Adam White dbfa0c7ed4 REST API: Clarify arguments passed to rest route get & update callbacks.
Update doc block argument definitions to clarify that the REST API always passes an array to the `get_callback` and always passes an entity object to the `update_callback`.

Props TimothyBlynJacobs, salzano.
Fixes #44432.


Built from https://develop.svn.wordpress.org/trunk@45810


git-svn-id: http://core.svn.wordpress.org/trunk@45621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-15 20:04:55 +00:00
..
class-wp-rest-attachments-controller.php REST API: Remove unused attachments controller method. 2019-03-19 03:28:51 +00:00
class-wp-rest-autosaves-controller.php I18N: Merge duplicate "Invalid post parent ID" strings. 2019-05-26 19:05:53 +00:00
class-wp-rest-block-renderer-controller.php REST API: Preserve unknown, respect `null` in server-side block rendering. 2018-12-17 18:00:52 +00:00
class-wp-rest-blocks-controller.php REST API: Always include `title.raw`/`content.raw` for Blocks in `context=view`. 2018-12-17 17:22:52 +00:00
class-wp-rest-comments-controller.php REST API: Allow `rest_get_avatar_urls()` to accept full user, post, or comment objects, rather than just an email address, to provide better flexibility for alternative avatar data. 2019-07-14 14:35:56 +00:00
class-wp-rest-controller.php REST API: Clarify arguments passed to rest route get & update callbacks. 2019-08-15 20:04:55 +00:00
class-wp-rest-post-statuses-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-rest-post-types-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-rest-posts-controller.php REST API: Generate sample permalink only when a dependent field is requested. 2019-07-31 20:00:57 +00:00
class-wp-rest-revisions-controller.php REST API: Always urlencode_deep() query args in get_items methods. 2019-04-25 00:08:52 +00:00
class-wp-rest-search-controller.php REST API: Always urlencode_deep() query args in get_items methods. 2019-04-25 00:08:52 +00:00
class-wp-rest-settings-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-rest-taxonomies-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-rest-terms-controller.php Taxonomy: Fix deprecated calls to `get_terms()`. 2019-08-03 03:35:56 +00:00
class-wp-rest-themes-controller.php Themes: Introduce responsive embeds support. 2018-12-14 01:50:37 +00:00
class-wp-rest-users-controller.php REST API: Allow `rest_get_avatar_urls()` to accept full user, post, or comment objects, rather than just an email address, to provide better flexibility for alternative avatar data. 2019-07-14 14:35:56 +00:00