From 79c44aed97d1a3979fb0672df87f17a65ee8feb0 Mon Sep 17 00:00:00 2001 From: ramonjd Date: Wed, 7 Dec 2022 14:37:06 +1100 Subject: [PATCH] This commit renames the filter hook namespace because it is a duplicate of the equivalent in packages/block-editor/src/hooks/style.js The assumption is that namespaces should be unique. This is especially important since using `removeFilter` will remove them both otherwise. --- packages/block-editor/src/hooks/content-lock-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/hooks/content-lock-ui.js b/packages/block-editor/src/hooks/content-lock-ui.js index 2de6d762ceadbb..1fa8ffc29c8586 100644 --- a/packages/block-editor/src/hooks/content-lock-ui.js +++ b/packages/block-editor/src/hooks/content-lock-ui.js @@ -168,6 +168,6 @@ export const withBlockControls = createHigherOrderComponent( addFilter( 'editor.BlockEdit', - 'core/style/with-block-controls', + 'core/content-lock-ui/with-block-controls', withBlockControls );