Skip to content

Commit

Permalink
Post-migration experience: Add domain DNS task (#39764)
Browse files Browse the repository at this point in the history
* Add domain dns mapping task

* changelog

* Fix linter

* Try relative URL

* Remove calypso path callback
  • Loading branch information
sixhours authored Oct 15, 2024
1 parent c08005e commit 54a0bb7
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: minor
Type: added

Add new task for domain mapping in migration Launchpad
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ function wpcom_launchpad_get_task_list_definitions() {
'review_site',
'review_plugins',
'connect_migration_domain',
'domain_dns_mapped',
),
),
);
Expand Down

0 comments on commit 54a0bb7

Please sign in to comment.