From bf6cc96d352d8c8bfc1adddc2a3832c81a3124cd Mon Sep 17 00:00:00 2001 From: Fabian Todt Date: Thu, 23 Nov 2023 14:25:39 +0100 Subject: [PATCH] Fix typo in code comment Co-authored-by: Andrei Draganescu --- packages/block-library/src/navigation-link/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/navigation-link/index.php b/packages/block-library/src/navigation-link/index.php index a122559a51670e..f7c26afd1f88dc 100644 --- a/packages/block-library/src/navigation-link/index.php +++ b/packages/block-library/src/navigation-link/index.php @@ -420,7 +420,7 @@ function register_block_core_navigation_link() { // All post types/taxonomies registered before register_block_core_navigation_link, will be handled by that function. add_action( 'registered_post_type', 'block_core_navigation_link_register_post_type_variation', 10, 2 ); add_action( 'registered_taxonomy', 'block_core_navigation_link_register_taxonomy_variation', 10, 3 ); -// Handle unregistering ofr post types and taxonomies and remove the variations. +// Handle unregistering of post types and taxonomies and remove the variations. add_action( 'unregistered_post_type', 'block_core_navigation_link_unregister_post_type_variation' ); add_action( 'unregistered_taxonomy', 'block_core_navigation_link_unregister_taxonomy_variation' );