Skip to content

Commit

Permalink
Update Jetpack Scan link (#39619)
Browse files Browse the repository at this point in the history
* Update Jetpack Scan link in menu

* changelog

* Update Jetpack scan link for Default view

* changelog

* Fix test

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11141700092

Upstream-Ref: Automattic/jetpack@27be713
  • Loading branch information
candy02058912 authored and matticbot committed Oct 2, 2024
1 parent ed421ac commit 383e992
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 92 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This is an alpha version! The changes listed here are not final.
### Changed
- Admin dashboard: Disable portfolio toggle if theme supports portfolio and site is WoA
- Updated package dependencies.
- Update Jetpack Scan link

### Removed
- Connection: Removed deprecated method features_available
Expand Down
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/automattic/jetpack-masterbar/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

This is an alpha version! The changes listed here are not final.

### Changed
- Update Jetpack Scan link

## [0.9.4] - 2024-09-30
### Changed
- Remove user connection nudges where they aren't needed. Add user connection nudges where needed [#39533]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ This is an alpha version! The changes listed here are not final.
- jetpack-mu-wpcom: remove unneeded filter
- Launchpad: Added isset to avoid Warnings when finding about page id
- Sharing modal: Repurposed to only display recommended tags.
- Update Jetpack Scan link
- wpcom_add_shopping_cart: Use Store_Shopping_Cart::is_cart_empty() when deciding to render icon for incrased performance

### Removed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading

0 comments on commit 383e992

Please sign in to comment.