From 00e02e8928405cf1542d73d9e72c0b89fdaba8dc Mon Sep 17 00:00:00 2001 From: daledupreez Date: Wed, 8 Nov 2023 07:50:18 +0000 Subject: [PATCH] Update Calypso URL for launchpad add subscribers task (#33913) * Ensure the backup URL for the Add Subscribers task triggers the modal * Changelog * Bump versions Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6795095895 --- composer.lock | 8 ++++---- vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md | 3 +++ .../src/features/launchpad/launchpad-task-definitions.php | 2 +- vendor/composer/installed.json | 6 +++--- vendor/composer/installed.php | 6 +++--- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/composer.lock b/composer.lock index 2824739d..6c3693ea 100644 --- a/composer.lock +++ b/composer.lock @@ -4,15 +4,15 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ddd41dfabbe5790e38acfaa4ec44cd94", + "content-hash": "6b5d09f1ada0b8658a91547be5540ed5", "packages": [ { "name": "automattic/jetpack-mu-wpcom", - "version": "4.17.0-alpha.1699373155", + "version": "4.17.0-alpha.1699428733", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "32d6afe3875e2d3745aa13deb1acda8286198255" + "reference": "2a5d69fafc77ad17d971228108fc9c98b2b47447" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -78,7 +78,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "f1be8c472f5c93c1ff406a4726636ca36ee8f5d9" + "reference": "bd982bc63bab070aadfec401d3ae00f47319fea3" }, "require": { "php": ">=5.6", diff --git a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md index 15a34a29..8a4c8ef2 100644 --- a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md +++ b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md @@ -12,6 +12,9 @@ This is an alpha version! The changes listed here are not final. ### Added - Added Subscribers page Launchpad tasks +### Changed +- Ensure that the URL for the Add Subscribers task will trigger the right modal + ## [4.16.2] - 2023-11-03 ### Fixed - Launchpad hooks: Made more resilient against non-array values. [#33923] diff --git a/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php b/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php index 595eda3d..13f26159 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php @@ -195,7 +195,7 @@ function wpcom_launchpad_get_task_definitions() { 'is_complete_callback' => 'wpcom_launchpad_is_task_option_completed', 'is_visible_callback' => 'wpcom_launchpad_has_goal_import_subscribers', 'get_calypso_path' => function ( $task, $default, $data ) { - return '/subscribers/' . $data['site_slug_encoded']; + return '/subscribers/' . $data['site_slug_encoded'] . '#add-subscribers'; }, ), 'migrate_content' => array( diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 43560b2b..edb2dcbc 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,12 +2,12 @@ "packages": [ { "name": "automattic/jetpack-mu-wpcom", - "version": "4.17.0-alpha.1699373155", - "version_normalized": "4.17.0.0-alpha1699373155", + "version": "4.17.0-alpha.1699428733", + "version_normalized": "4.17.0.0-alpha1699428733", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "32d6afe3875e2d3745aa13deb1acda8286198255" + "reference": "2a5d69fafc77ad17d971228108fc9c98b2b47447" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 175fb707..c2f52f93 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -11,9 +11,9 @@ ), 'versions' => array( 'automattic/jetpack-mu-wpcom' => array( - 'pretty_version' => '4.17.0-alpha.1699373155', - 'version' => '4.17.0.0-alpha1699373155', - 'reference' => '32d6afe3875e2d3745aa13deb1acda8286198255', + 'pretty_version' => '4.17.0-alpha.1699428733', + 'version' => '4.17.0.0-alpha1699428733', + 'reference' => '2a5d69fafc77ad17d971228108fc9c98b2b47447', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom', 'aliases' => array(),