WordPress/wp-includes/rest-api/endpoints
gziolo c795115b0a 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].



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


git-svn-id: http://core.svn.wordpress.org/trunk@52807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-19 14:58:09 +00:00
..
class-wp-rest-application-passwords-controller.php Application Passwords: Various docblock improvements. 2021-10-30 20:26:59 +00:00
class-wp-rest-attachments-controller.php REST API: Add batch support for posts and terms controllers. 2021-11-09 01:59:02 +00:00
class-wp-rest-autosaves-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-block-directory-controller.php Docs: Miscellaneous docblock corrections in REST API and Sitemaps API. 2022-01-15 21:22:02 +00:00
class-wp-rest-block-pattern-categories-controller.php REST API: Bring new endpoints for Block Patterns from Gutenberg plugin 2022-04-12 09:26:16 +00:00
class-wp-rest-block-patterns-controller.php REST API: Add `inserter` field to the schema of Patterns endpoint 2022-04-19 09:41:09 +00:00
class-wp-rest-block-renderer-controller.php Docs: Document the globals used in some REST API methods. 2021-06-30 12:34:56 +00:00
class-wp-rest-block-types-controller.php Coding Standards: Correct alignment in various files. 2022-04-17 15:07:08 +00:00
class-wp-rest-blocks-controller.php Docs: Miscellaneous docblock corrections in REST API and Sitemaps API. 2022-01-15 21:22:02 +00:00
class-wp-rest-comments-controller.php REST API: Fix the wrong name in the comments controller 2022-04-11 15:37:09 +00:00
class-wp-rest-controller.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
class-wp-rest-edit-site-export-controller.php Editor: Add functionality required for theme export in the site editor 2022-04-11 10:38:00 +00:00
class-wp-rest-global-styles-controller.php Coding Standards: Correct alignment in various files. 2022-04-17 15:07:08 +00:00
class-wp-rest-menu-items-controller.php Taxonomy: Typo correction in context used for the navigation link block title. 2022-01-07 11:21:04 +00:00
class-wp-rest-menu-locations-controller.php REST API: Introduce Menu management endpoints. 2021-11-09 19:00:01 +00:00
class-wp-rest-menus-controller.php REST API: Introduce Menu management endpoints. 2021-11-09 19:00:01 +00:00
class-wp-rest-pattern-directory-controller.php REST API: Add array argument to getItems for Pattern Directory endopoint 2022-04-19 14:58:09 +00:00
class-wp-rest-plugins-controller.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
class-wp-rest-post-statuses-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-post-types-controller.php REST API: Correct the wording for `show_in_nav_menus` property description in post type visibility settings. 2022-03-08 14:51:07 +00:00
class-wp-rest-posts-controller.php REST API: Ensure that the parent link, uses the rest_get_route_for_post function. 2021-12-13 15:20:03 +00:00
class-wp-rest-revisions-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-search-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_REST_Controller::prepare_item_for_response()`. 2021-09-09 18:36:57 +00:00
class-wp-rest-settings-controller.php REST API: Update “object” strings to use the appropriate nouns. 2021-05-25 13:12:58 +00:00
class-wp-rest-sidebars-controller.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00
class-wp-rest-site-health-controller.php Security, Site Health: Improve accuracy in messaging about HTTPS support. 2021-01-29 19:10:58 +00:00
class-wp-rest-taxonomies-controller.php Docs: Add a `@since` note for the `rest_namespace` argument of `register_post_type()` and `register_taxonomy()`. 2021-11-01 14:31:00 +00:00
class-wp-rest-templates-controller.php Update @wordpress packages 2022-01-04 05:39:28 +00:00
class-wp-rest-terms-controller.php REST API: Add batch support for posts and terms controllers. 2021-11-09 01:59:02 +00:00
class-wp-rest-themes-controller.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
class-wp-rest-url-details-controller.php Docs: Further remove HTML markup from various function summaries. 2022-04-02 13:55:11 +00:00
class-wp-rest-users-controller.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-rest-widget-types-controller.php I18N: Remove redundant `default` text domain parameter in some `__()` calls. 2021-11-30 08:33:05 +00:00
class-wp-rest-widgets-controller.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00