@automattic/jetpack-shared-extension-utils 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.6.0] - 2022-08-03
9
+ ### Fixed
10
+ - Change Site Editor route to `site-editor.php` [#25281]
11
+
8
12
  ## [0.5.0] - 2022-07-26
9
13
  ### Added
10
14
  - Add a new utility function for native use. The function returns the namespace of the host app e.g. Jetpack or WordPress. [#25155]
@@ -100,6 +104,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
100
104
  ### Changed
101
105
  - Core: prepare utility for release
102
106
 
107
+ [0.6.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.5.0...0.6.0
103
108
  [0.5.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.13...0.5.0
104
109
  [0.4.13]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.12...0.4.13
105
110
  [0.4.12]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.11...0.4.12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Utility functions used by the block editor extensions",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
6
6
  "bugs": {
package/src/plan-utils.js CHANGED
@@ -28,9 +28,8 @@ export function getUpgradeUrl( { planSlug, plan, postId, postType } ) {
28
28
 
29
29
  return addQueryArgs(
30
30
  window.location.protocol +
31
- `//${ getSiteFragment().replace( '::', '/' ) }/wp-admin/admin.php`,
31
+ `//${ getSiteFragment().replace( '::', '/' ) }/wp-admin/site-editor.php`,
32
32
  {
33
- page: 'gutenberg-edit-site',
34
33
  postId: queryParams.get( 'postId' ),
35
34
  postType: queryParams.get( 'postType' ),
36
35
  plan_upgraded: 1,