From 5a601251293c01423643084db55f83629ce2e81d Mon Sep 17 00:00:00 2001 From: Luis Felipe Zaguini <26530524+zaguiini@users.noreply.github.com> Date: Sun, 26 Jan 2025 21:59:13 -0300 Subject: [PATCH] Launchpad: Add messages anchor in customize welcome message task URL (#41320) Add messages area anchor in customize_welcome_message Launchpad task path --- ...add-messages-anchor-in-customize_welcome_message-task-path | 4 ++++ .../src/features/launchpad/launchpad-task-definitions.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/add-messages-anchor-in-customize_welcome_message-task-path diff --git a/projects/packages/jetpack-mu-wpcom/changelog/add-messages-anchor-in-customize_welcome_message-task-path b/projects/packages/jetpack-mu-wpcom/changelog/add-messages-anchor-in-customize_welcome_message-task-path new file mode 100644 index 0000000000000..4425d51185c13 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/add-messages-anchor-in-customize_welcome_message-task-path @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Add messages area anchor in customize_welcome_message Launchpad task path 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 3ca3dd81a5c34..eb897a3bc8221 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 @@ -504,7 +504,7 @@ function wpcom_launchpad_get_task_definitions() { if ( wpcom_launchpad_should_use_wp_admin_link() ) { return admin_url( 'admin.php?page=jetpack#/newsletter' ); } - return '/settings/newsletter/' . $data['site_slug_encoded']; + return '/settings/newsletter/' . $data['site_slug_encoded'] . '#messages'; }, ), 'enable_subscribers_modal' => array(