From 8d05319d9967d4242911db28914f8067bc6faa86 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Mon, 2 Jan 2023 18:23:15 +0000 Subject: [PATCH] Fix number of arguments passed to hasBlockMetadataSupport. (#46842) --- packages/block-editor/src/hooks/metadata.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/block-editor/src/hooks/metadata.js b/packages/block-editor/src/hooks/metadata.js index 5ed4870d56e4f..9f39082f46d85 100644 --- a/packages/block-editor/src/hooks/metadata.js +++ b/packages/block-editor/src/hooks/metadata.js @@ -27,8 +27,7 @@ export function addMetaAttribute( blockTypeSettings ) { const supportsBlockNaming = hasBlockMetadataSupport( blockTypeSettings, - 'name', - false + 'name' ); if ( supportsBlockNaming ) {