Skip to content

Commit 01e66ea

Browse files
committed
Trying specific lines only
1 parent c04f1f9 commit 01e66ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/blocks/navigation-link.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ function register_block_core_navigation_link() {
432432
add_action( 'init', 'register_block_core_navigation_link' );
433433
// Register actions for all post types and taxonomies, to add variations when they are registered.
434434
// All post types/taxonomies registered before register_block_core_navigation_link, will be handled by that function.
435-
add_action( 'registered_post_type', 'block_core_navigation_link_register_post_type_variation', 10, 2 );
436-
add_action( 'registered_taxonomy', 'block_core_navigation_link_register_taxonomy_variation', 10, 3 );
435+
// add_action( 'registered_post_type', 'block_core_navigation_link_register_post_type_variation', 10, 2 );
436+
// add_action( 'registered_taxonomy', 'block_core_navigation_link_register_taxonomy_variation', 10, 3 );
437437
// Handle unregistering of post types and taxonomies and remove the variations.
438438
add_action( 'unregistered_post_type', 'block_core_navigation_link_unregister_post_type_variation' );
439439
add_action( 'unregistered_taxonomy', 'block_core_navigation_link_unregister_taxonomy_variation' );

0 commit comments

Comments
 (0)