Skip to content

Commit

Permalink
Fix number of arguments passed to hasBlockMetadataSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jan 2, 2023
1 parent f30e5b1 commit a74fb60
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 a74fb60

@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/3824076480
📝 Reported issues:

Please sign in to comment.