-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ETK][GB 13.x] Fix loading of A8C-specific patterns in WPCOM (#62745)
* Fix A8C block pattern loading in Gutenberg 13+ by selectively loading all of them before the new API rest requests * Revert changes to .wp-env.json * Add tests * Support Atomic rest API and move tests to block patterns category * Use correct class for test mock * Fix test * Add back-compat function for older Gutenberg and WP versions * Move block patterns file inclusion to callback * Remove typo from package.json * Add back edit site check Co-authored-by: Noah Allen <[email protected]>
- Loading branch information
1 parent
a7c0f15
commit 9b70cf3
Showing
3 changed files
with
130 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters