diff --git a/projects/packages/jetpack-mu-wpcom/changelog/update-jetpack-scan-link b/projects/packages/jetpack-mu-wpcom/changelog/update-jetpack-scan-link new file mode 100644 index 0000000000000..998b163b561a5 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/update-jetpack-scan-link @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update Jetpack Scan link diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-admin-menu/wpcom-admin-menu.php b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-admin-menu/wpcom-admin-menu.php index 98d49b9f1d6ba..a44371e89ec14 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-admin-menu/wpcom-admin-menu.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-admin-menu/wpcom-admin-menu.php @@ -176,7 +176,7 @@ function wpcom_add_jetpack_submenu() { $monetize_url = 'https://wordpress.com/earn/' . $domain; $subscribers_url = 'https://wordpress.com/subscribers/' . $domain; $newsletter_url = 'https://wordpress.com/settings/newsletter/' . $domain; - $scan_url = 'https://wordpress.com/scan/history/' . $domain; + $scan_url = 'https://wordpress.com/scan/' . $domain; // Add submenu items that link to WordPress.com. add_submenu_page( diff --git a/projects/packages/masterbar/changelog/update-jetpack-scan-link b/projects/packages/masterbar/changelog/update-jetpack-scan-link new file mode 100644 index 0000000000000..998b163b561a5 --- /dev/null +++ b/projects/packages/masterbar/changelog/update-jetpack-scan-link @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update Jetpack Scan link diff --git a/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php b/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php index 4a22f09c7d1af..499668813ce1e 100644 --- a/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php +++ b/projects/packages/masterbar/src/admin-menu/class-atomic-admin-menu.php @@ -339,7 +339,7 @@ public function add_jetpack_menu() { } // @phan-suppress-next-line PhanTypeMismatchArgumentProbablyReal -- Core should ideally document null for no-callback arg. https://core.trac.wordpress.org/ticket/52539. - add_submenu_page( 'jetpack', esc_attr__( 'Scan', 'jetpack-masterbar' ), __( 'Scan', 'jetpack-masterbar' ), 'manage_options', 'https://wordpress.com/scan/history/' . $this->domain, null, $scan_position ); + add_submenu_page( 'jetpack', esc_attr__( 'Scan', 'jetpack-masterbar' ), __( 'Scan', 'jetpack-masterbar' ), 'manage_options', 'https://wordpress.com/scan/' . $this->domain, null, $scan_position ); /** * Prevent duplicate menu items that link to Jetpack Backup. diff --git a/projects/packages/masterbar/tests/php/test-class-atomic-admin-menu.php b/projects/packages/masterbar/tests/php/test-class-atomic-admin-menu.php index 04486a2422f93..f6f18311cedff 100644 --- a/projects/packages/masterbar/tests/php/test-class-atomic-admin-menu.php +++ b/projects/packages/masterbar/tests/php/test-class-atomic-admin-menu.php @@ -384,6 +384,6 @@ public function test_add_jetpack_scan_submenu() { static::$admin_menu->add_jetpack_menu(); $links = wp_list_pluck( array_values( $submenu['jetpack'] ), 2 ); - $this->assertContains( 'https://wordpress.com/scan/history/' . static::$domain, $links ); + $this->assertContains( 'https://wordpress.com/scan/' . static::$domain, $links ); } } diff --git a/projects/plugins/jetpack/changelog/update-jetpack-scan-link b/projects/plugins/jetpack/changelog/update-jetpack-scan-link new file mode 100644 index 0000000000000..8bad6e623b64a --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-jetpack-scan-link @@ -0,0 +1,4 @@ +Significance: patch +Type: enhancement + +Update Jetpack Scan link diff --git a/projects/plugins/mu-wpcom-plugin/changelog/update-jetpack-scan-link b/projects/plugins/mu-wpcom-plugin/changelog/update-jetpack-scan-link new file mode 100644 index 0000000000000..998b163b561a5 --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/update-jetpack-scan-link @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update Jetpack Scan link diff --git a/projects/plugins/wpcomsh/changelog/update-jetpack-scan-link b/projects/plugins/wpcomsh/changelog/update-jetpack-scan-link new file mode 100644 index 0000000000000..998b163b561a5 --- /dev/null +++ b/projects/plugins/wpcomsh/changelog/update-jetpack-scan-link @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Update Jetpack Scan link