wordpress-develop/src/wp-includes/rest-api
Greg Ziółkowski 32f1bdeec6 REST API: Add array argument to getItems for Pattern Directory endopoint
Since http://api.wordpress.org/patterns API supports array parameters, there is no need to implode slug values inside the _register_remote_theme_patterns function.
Both WP_REST_Pattern_Directory_Controller and _register_remote_theme_patternsmust be updated to support array request arguments.

Props antonvlasenko.
Fixes #55574.
Follow-up #55505, [53152].




git-svn-id: https://develop.svn.wordpress.org/trunk@53218 602fd350-edb4-49c9-b593-d223f7449a82
2022-04-19 14:56:40 +00:00
..
endpoints REST API: Add array argument to getItems for Pattern Directory endopoint 2022-04-19 14:56:40 +00:00
fields REST API: Update “object” strings to use the appropriate nouns. 2021-05-25 13:11:55 +00:00
search REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:21:39 +00:00
class-wp-rest-request.php Code Modernization: Silence the deprecation warnings for missing return type in WP_REST_Request. 2021-08-03 11:07:28 +00:00
class-wp-rest-response.php Docs: Update spelling for inline comments in a few files. 2022-01-25 13:54:01 +00:00
class-wp-rest-server.php REST API: Use rest_parse_embed_param function in WP_REST_Server class. 2022-04-08 17:27:42 +00:00