Skip to content

Commit

Permalink
Fix typo in code comment
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Draganescu <me@andreidraganescu.info>
  • Loading branch information
gaambo and draganescu committed Jan 11, 2024
1 parent 09f92ef commit bf6cc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation-link/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

Expand Down

0 comments on commit bf6cc96

Please sign in to comment.