Skip to content

Commit 3709610

Browse files
authored
Launchpad: Retire the readymade-template checklist (#53924)
1 parent fe6a82b commit 3709610

3 files changed

Lines changed: 5 additions & 26 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: removed
3+
4+
Launchpad: Remove the retired readymade-template checklist and its "Customize content with AI" task.

‎projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,6 @@ function wpcom_launchpad_get_task_definitions() {
126126
return admin_url( 'post-new.php' );
127127
},
128128
),
129-
'generate_content' => array(
130-
'get_title' => function () {
131-
return __( 'Customize content with AI', 'jetpack-mu-wpcom' );
132-
},
133-
'is_complete_callback' => 'wpcom_launchpad_is_task_option_completed',
134-
'get_calypso_path' => function ( $task, $default, $data ) {
135-
return '/setup/readymade-template/generateContent?siteSlug=' . $data['site_slug_encoded'];
136-
},
137-
),
138129
'plan_completed' => array(
139130
'get_title' => function () {
140131
return __( 'Choose a plan', 'jetpack-mu-wpcom' );

‎projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php‎

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -272,22 +272,6 @@ function wpcom_launchpad_get_task_list_definitions() {
272272
),
273273
'is_enabled_callback' => 'wpcom_launchpad_get_fullscreen_enabled',
274274
),
275-
'readymade-template' => array(
276-
'get_title' => function () {
277-
return __( 'Next steps for your site', 'jetpack-mu-wpcom' );
278-
},
279-
'task_ids' => array(
280-
'verify_domain_email',
281-
'design_selected',
282-
'setup_general',
283-
'generate_content',
284-
'plan_completed',
285-
'site_theme_selected',
286-
'domain_upsell',
287-
'site_launched',
288-
),
289-
'is_enabled_callback' => 'wpcom_launchpad_get_fullscreen_enabled',
290-
),
291275
'ai-assembler' => array(
292276
'get_title' => function () {
293277
return __( 'Next steps for your site', 'jetpack-mu-wpcom' );
@@ -439,7 +423,7 @@ function wpcom_register_default_launchpad_checklists() {
439423
* @return string[] Retired site intents.
440424
*/
441425
function wpcom_launchpad_get_retired_site_intents() {
442-
return array( 'start-writing' );
426+
return array( 'start-writing', 'readymade-template' );
443427
}
444428

445429
/**

0 commit comments

Comments
 (0)