Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Navigation block: Check Block Hooks API callback hasn't already been …
…added. (#58772) Check for the presence of a filter callback hooked in Core ([here](https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/blocks/navigation.php#L1423-L1425) and [here](https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/blocks/navigation.php#L1455-L1457)) before adding ours in Gutenberg. We have to concatenate Core's callback name to prevent the Gutenberg build step from prefixing it with `gutenberg_` which is not what it's called in Core. Co-authored-by: tjcafferkey <tomjcafferkey@git.wordpress.org> Co-authored-by: ockham <bernhard-reiter@git.wordpress.org> Co-authored-by: gziolo <gziolo@git.wordpress.org>
- Loading branch information
6f8a7dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in 6f8a7dd.
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/7833565748
📝 Reported issues:
/test/e2e/specs/interactivity/directive-bind.spec.ts