Backport fixes for wp/v2/block-patterns/patterns
and /wp/v2/pattern-directory/patterns
endpoints to Gutenberg
#40824
Labels
Backport from WordPress Core
Pull request that needs to be backported to a Gutenberg release from WordPress Core
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
What problem does this address?
There have been 3 Core PRs that fixed a number of issues related to
wp/v2/block-patterns/patterns
and/wp/v2/pattern-directory/patterns
endpoints.These PRs have to be backported back to Gutenberg:
WP_REST_Pattern_Directory_Controller::get_items
doesn't support array arguments wordpress-develop#2591/wp/v2/pattern-directory/patterns
endpoint: slug parameter has no effect on the response wordpress-develop#2625The text was updated successfully, but these errors were encountered: