Wordpress/tests
Timothy Jacobs 84d524e189 REST API: Extract WP_REST_Controller::get_endpoint_args_for_item_schema() to a standalone function.
This method is useful whenever a JSON Schema needs to be converted to a format suitable for argument validation with `WP_REST_Request`. Moving the logic into a standalone function allows developers to use it outside of the `WP_REST_Controller` context.

Props pentatonicfunk.
Fixes #50876. 


git-svn-id: https://develop.svn.wordpress.org/trunk@48951 602fd350-edb4-49c9-b593-d223f7449a82
2020-09-07 02:35:52 +00:00
..
e2e Editor: update JavaScript packages 2020-06-26 13:31:11 +00:00
gutenberg Block Editor: Add a script to run Gutenberg end 2 end tests on Core. 2020-07-07 16:06:43 +00:00
phpunit REST API: Extract WP_REST_Controller::get_endpoint_args_for_item_schema() to a standalone function. 2020-09-07 02:35:52 +00:00
qunit Tests: Update wp-api-generated.js to reflect the new "Reusable Blocks" post type label. 2020-08-23 14:38:40 +00:00