Skip to content

Commit

Permalink
removed parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
prconcepcion committed Oct 27, 2023
1 parent 1e93d85 commit 63c2853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unique-id.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function stackable_prevent_duplicate_unique_ids( $block_content, $block ) {
}

if ( in_array( $unique_id, $stackable_unique_ids ) ) {
$random_unique_id = stackable_generate_unique_id( 7 );
$random_unique_id = stackable_generate_unique_id();
array_push( $stackable_unique_ids, $random_unique_id );
$block_content = str_replace( $unique_id, $random_unique_id, $block_content );
} else {
Expand Down

0 comments on commit 63c2853

Please sign in to comment.