Skip to content

Commit 1b03778

Browse files
authored
My Home Suggestions Card: Update find other domains link to /setup/domain-and-plan flow (#45507)
* Domain Search Rewrite Cleanup: Remove domainAndPlanPackage references * changelog
1 parent 3d1dcfa commit 1b03778

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: changed
3+
4+
My Home Suggestions Card: Update find other domains link to /setup/domain-and-plan flow

projects/packages/jetpack-mu-wpcom/src/features/wpcom-dashboard-widgets/wpcom-general-tasks-widget/tasks/home-task-domain-upsell/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ export default ( { siteDomain, sitePlan } ) => {
2929
}
3030

3131
const getLink = `http://wordpress.com/checkout/${ siteDomain }/${ cart.join( ',' ) }`;
32-
const searchLink = addQueryArgs( `https://wordpress.com/domains/add/${ siteDomain }`, {
33-
domainAndPlanPackage: true,
34-
domain: true,
32+
const searchLink = addQueryArgs( 'https://wordpress.com/setup/domain-and-plan', {
33+
siteSlug: siteDomain,
3534
} );
3635

3736
return (

0 commit comments

Comments
 (0)