wordpress-develop/tests/phpunit/tests/rest-api
K. Adam White 4e0062e5be REST API: Correctly infer empty objects passed via query parameters.
Permit passing an empty object as the string "?obj=". The type of the passed empty argument is inferred from the registered schema.

Props TimothyBlynJacobs, steffanhalv, schlessera, dd32.
Fixes #42961.


git-svn-id: https://develop.svn.wordpress.org/trunk@47362 602fd350-edb4-49c9-b593-d223f7449a82
2020-02-25 15:32:27 +00:00
..
rest-attachments-controller.php REST API: Allow meta to be set when creating a new media record via REST. 2020-02-11 03:37:17 +00:00
rest-autosaves-controller.php Tests: Replace use of $this->server with rest_get_server() in test_registered_query_params(). 2018-12-17 01:24:36 +00:00
rest-block-renderer-controller.php REST API: Apply all relevant block rendering filters when rendering block previews. 2020-02-25 15:03:57 +00:00
rest-blocks-controller.php REST API: Always include title.raw/content.raw for Blocks in context=view. 2018-12-17 17:21:05 +00:00
rest-categories-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-comments-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-controller.php REST API: Don't assume all item schemas have properties. 2020-02-20 16:56:17 +00:00
rest-pages-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-post-meta-fields.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-post-types-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-posts-controller.php REST API: Introduce rest_{$this->post_type}_item_schema filter to enable manipulation of schema values. 2020-02-11 16:26:56 +00:00
rest-request-validation.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-request.php Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
rest-revisions-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-schema-sanitization.php REST API: Correctly infer empty objects passed via query parameters. 2020-02-25 15:32:27 +00:00
rest-schema-setup.php Block Editor: Update WordPress Packages; Remove navigation block; Add social links block 2020-02-10 22:31:13 +00:00
rest-schema-validation.php REST API: Correctly infer empty objects passed via query parameters. 2020-02-25 15:32:27 +00:00
rest-search-controller.php REST API: Permit embedding of the 'self' link relation in the /search endpoint. 2019-10-08 04:43:10 +00:00
rest-server.php REST API: Fix namespace shadowing issue in route matching logic. 2020-02-24 18:05:12 +00:00
rest-settings-controller.php REST API: Warn if registering array settings without an items schema. 2020-02-19 22:54:03 +00:00
rest-tags-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
rest-term-meta-fields.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-test-controller.php Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:41:15 +00:00
rest-themes-controller.php REST API: Permit access to the themes controller if user can edit any post type. 2020-02-25 15:18:19 +00:00
rest-users-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00