-
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.
Block patterns: Remove the block that filters out core blocks from th…
…e patterns inserter (#52656) * Remove the block that filters out core blocks from the patterns inserter * This commit deregisters all patterns including those added by Gutenberg. We've also added a method to reregister core patterns when we want to update their categories to reflect WPCOM categories. Also removing the unused get_block_patterns_locale() method, which was abstracted into Block_Patterns_Utils in #51423 * Formatting * Added a todo to revisit the use of `blockTypes` Restoring current locale if needed * YODA checks the linter still wants.
- Loading branch information
Showing
1 changed file
with
72 additions
and
17 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