Skip to content

Commit

Permalink
Fix variations reference issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kt-12 committed Jan 22, 2024
1 parent a99575c commit 2bc59bd
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 @@ -338,7 +338,7 @@ function block_core_navigation_link_register_variation( $variation ) {
return;
}

$navigation_block_type->variations[] = $variation;
$navigation_block_type->variations = array_merge( $navigation_block_type->variations, $variation );
}

/**
Expand Down

0 comments on commit 2bc59bd

Please sign in to comment.