diff --git a/projects/packages/jetpack-mu-wpcom/changelog/add-domain-dns-task b/projects/packages/jetpack-mu-wpcom/changelog/add-domain-dns-task new file mode 100644 index 0000000000000..b73c325179447 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/add-domain-dns-task @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Add new task for domain mapping in migration Launchpad diff --git a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php index e3332db21a870..d1e2fb1b392f4 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php @@ -845,6 +845,13 @@ function wpcom_launchpad_get_task_definitions() { 'is_complete_callback' => 'wpcom_launchpad_is_domain_customize_completed', 'is_visible_callback' => '__return_true', ), + 'domain_dns_mapped' => array( + 'get_title' => function () { + return __( "Update your domain's DNS", '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() ); diff --git a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php index e8b64e7fcbe34..d8e2ceb64e2e5 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php @@ -324,6 +324,7 @@ function wpcom_launchpad_get_task_list_definitions() { 'review_site', 'review_plugins', 'connect_migration_domain', + 'domain_dns_mapped', ), ), );