From 72b5b6bd03188bf65f46ba0c205fc9e1a307acba Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Thu, 15 Feb 2024 13:12:51 +1300 Subject: [PATCH] Make comment more explanatory --- packages/block-editor/src/store/private-actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/store/private-actions.js b/packages/block-editor/src/store/private-actions.js index 4ee1b89db7e2d..ae0a06152fb93 100644 --- a/packages/block-editor/src/store/private-actions.js +++ b/packages/block-editor/src/store/private-actions.js @@ -145,7 +145,7 @@ export const privateRemoveBlocks = clientId, 'core/block' ); - // If the overriden block is a child of a core/block, skip it. + // We only need to run this check when editing the original pattern, not pattern instances. if ( parentPatternBlocks?.length > 0 ) { continue; }