Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocks: refactor deletion warnings dialog #58952

Merged
merged 9 commits into from
Feb 22, 2024
Prev Previous commit
Next Next commit
Finish sentence
  • Loading branch information
talldan committed Feb 22, 2024
commit b2925d7747e70b2e0766d44184cf763650126dc6
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const BLOCK_REMOVAL_RULES = [
},
{
// Pattern overrides.
// The warning is only shown when the user manipulates
// The warning is only shown when the user edits a pattern.
postTypes: [ 'wp_block' ],
callback( removedBlocks ) {
const removedBlocksWithOverrides = removedBlocks.filter(
Expand Down
Loading