Skip to content

Commit

Permalink
My Jetpack: Use Blog ID in links to WPCOM instead of site slug (#34976)
Browse files Browse the repository at this point in the history
Make links and redirects to WPCOM in My Jetpack section use blog ID instead of slug for multi-URL support.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/7545470857
  • Loading branch information
sergeymitr authored and matticbot committed Jan 16, 2024
1 parent cc08912 commit 5cbda15
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.2-alpha] - unreleased
## [2.2.0-alpha] - unreleased

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

### Changed
- Adjust 'get_site_id()' method to return null if there's no blog ID.

## [2.1.1] - 2024-01-04
### Changed
- Updated package dependencies. [#34815]
Expand Down Expand Up @@ -947,7 +950,7 @@ This is an alpha version! The changes listed here are not final.

- Separate the connection library into its own package.

[2.1.2-alpha]: https://github.com/Automattic/jetpack-connection/compare/v2.1.1...v2.1.2-alpha
[2.2.0-alpha]: https://github.com/Automattic/jetpack-connection/compare/v2.1.1...v2.2.0-alpha
[2.1.1]: https://github.com/Automattic/jetpack-connection/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/Automattic/jetpack-connection/compare/v2.0.3...v2.1.0
[2.0.3]: https://github.com/Automattic/jetpack-connection/compare/v2.0.2...v2.0.3
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "2.1.x-dev"
"dev-trunk": "2.2.x-dev"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/class-package-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class Package_Version {

const PACKAGE_VERSION = '2.1.2-alpha';
const PACKAGE_VERSION = '2.2.0-alpha';

const PACKAGE_SLUG = 'connection';

Expand Down

0 comments on commit 5cbda15

Please sign in to comment.