Skip to content

Commit

Permalink
Post-migration Experience: Add the "Review the site's content" task (#…
Browse files Browse the repository at this point in the history
…39641)

* Add the Review site task

* changelog

* Remove calypso path

---------

Co-authored-by: Valter Lorran <valter.lorran@automattic.com>
  • Loading branch information
valterlorran and Valter Lorran authored Oct 7, 2024
1 parent ce32881 commit ce31d5d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: added

Add the Review site task
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,13 @@ function wpcom_launchpad_get_task_definitions() {
'is_complete_callback' => 'wpcom_launchpad_is_task_option_completed',
'is_visible_callback' => '__return_true',
),
'review_site' => array(
'get_title' => function () {
return __( "Review the site's content", 'jetpack-mu-wpcom' );
},
'is_complete_callback' => 'wpcom_launchpad_is_task_option_completed',
'is_visible_callback' => '__return_true',
),
);

$extended_task_definitions = apply_filters( 'wpcom_launchpad_extended_task_definitions', array() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ function wpcom_launchpad_get_task_list_definitions() {
},
'task_ids' => array(
'migrating_site',
'review_site',
),
),
);
Expand Down

0 comments on commit ce31d5d

Please sign in to comment.