Skip to content

Commit 9246662

Browse files
authored
Reapply "Default to hiding the migration trial from unverified users (#90589)" (#90595) (#90599)
This reverts commit 6625c6f.
1 parent 9c865ad commit 9246662

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-upgrade-plan/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const SiteMigrationUpgradePlan: Step = function ( { navigation, data } ) {
2323
const translate = useTranslate();
2424
const queryParams = useQuery();
2525
const hideFreeMigrationTrialForNonVerifiedEmail =
26-
( data?.hideFreeMigrationTrialForNonVerifiedEmail as boolean | undefined ) ?? false;
26+
( data?.hideFreeMigrationTrialForNonVerifiedEmail as boolean | undefined ) ?? true;
2727

2828
const selectedPlanData = useSelectedPlanUpgradeQuery();
2929
const selectedPlanPathSlug = selectedPlanData.data;

client/landing/stepper/declarative-flow/migration-signup.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,7 @@ const migrationSignup: Flow = {
191191
}
192192

193193
return navigate(
194-
addQueryArgs(
195-
{ from: from, siteSlug, siteId },
196-
STEPS.SITE_MIGRATION_UPGRADE_PLAN.slug
197-
),
198-
{ hideFreeMigrationTrialForNonVerifiedEmail: true }
194+
addQueryArgs( { from: from, siteSlug, siteId }, STEPS.SITE_MIGRATION_UPGRADE_PLAN.slug )
199195
);
200196
}
201197

0 commit comments

Comments
 (0)