Skip to content

Commit

Permalink
Fix number of arguments passed to hasBlockMetadataSupport. (#46842)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Jan 2, 2023
1 parent f30e5b1 commit 8d05319
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/block-editor/src/hooks/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ export function addMetaAttribute( blockTypeSettings ) {

const supportsBlockNaming = hasBlockMetadataSupport(
blockTypeSettings,
'name',
false
'name'
);

if ( supportsBlockNaming ) {
Expand Down

1 comment on commit 8d05319

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3824442476
📝 Reported issues:

Please sign in to comment.