Skip to content

Commit

Permalink
Remove reference to the v1 experiment from the code. (#7096)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmallory42 authored Aug 30, 2023
1 parent 71b9423 commit 4e37352
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog/dev-remove-v1-experiment
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: dev

Remove reference to old experiment.
3 changes: 1 addition & 2 deletions includes/class-wc-payments-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,7 @@ public static function is_in_progressive_onboarding_treatment_mode(): bool {
'yes' === get_option( 'woocommerce_allow_tracking' )
);

return 'treatment' === $abtest->get_variation( 'woocommerce_payments_onboarding_progressive_express_2023_v1' )
|| 'treatment' === $abtest->get_variation( 'woocommerce_payments_onboarding_progressive_express_2023_v2' );
return 'treatment' === $abtest->get_variation( 'woocommerce_payments_onboarding_progressive_express_2023_v2' );
}

/**
Expand Down

0 comments on commit 4e37352

Please sign in to comment.