Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailored Flows: Remove /setup/blog flow #95555

Merged
merged 3 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions client/landing/stepper/declarative-flow/blog.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@ export function DomainFormControl( {
return true;
}

// 'blog' flow, starting with blog themes
if ( flow === 'blog' ) {
return true;
}

return typeof domainForm?.lastQuery === 'string' && domainForm?.lastQuery.includes( '.blog' );
};

Expand Down
2 changes: 0 additions & 2 deletions client/landing/stepper/declarative-flow/registered-flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ const availableFlows: Record< string, () => Promise< { default: Flow } > > = {

sensei: () => import( /* webpackChunkName: "sensei-flow" */ '../declarative-flow/sensei' ),

blog: () => import( /* webpackChunkName: "blog" */ '../declarative-flow/blog' ),

[ START_WRITING_FLOW ]: () =>
import( /* webpackChunkName: "start-writing-flow" */ './start-writing' ),

Expand Down
5 changes: 0 additions & 5 deletions client/signup/steps/domains/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,6 @@ export class RenderDomainsStep extends Component {
return true;
}

// 'blog' flow, starting with blog themes
if ( flowName === 'blog' ) {
return true;
}

// No .blog subdomains for domain only sites
if ( isDomainOnly ) {
return false;
Expand Down
Loading