Skip to content

Commit e2dcaba

Browse files
simisonmatticbot
authored andcommitted
Newsletter launchpad: add "migrate content" task (#32357)
* Newsletter launchpad: add migrate content task. Calypso part in Automattic/wp-calypso#80361 * Bump versions by running `tools/fixup-project-versions.sh` * Updated lockfiles by running `tools/composer-update-monorepo.sh --root-reqs "projects/plugins/mu-wpcom-plugin"` Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5836852128
1 parent d146f3c commit e2dcaba

File tree

15 files changed

+45
-25
lines changed

15 files changed

+45
-25
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 1.6.12-alpha - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
812
## 1.6.11 - 2023-08-09
913
### Changed
1014
- Internal updates.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "wordpress-plugin",
55
"license": "GPL-2.0-or-later",
66
"require": {
7-
"automattic/jetpack-mu-wpcom": "^4.3.1"
7+
"automattic/jetpack-mu-wpcom": "^4.4.0-alpha"
88
},
99
"require-dev": {
1010
"yoast/phpunit-polyfills": "1.0.4",
@@ -37,6 +37,6 @@
3737
]
3838
},
3939
"config": {
40-
"autoloader-suffix": "d9d132a783958a00a2c7cccff60ca42d_jetpack_mu_wpcom_pluginⓥ1_6_11"
40+
"autoloader-suffix": "d9d132a783958a00a2c7cccff60ca42d_jetpack_mu_wpcom_pluginⓥ1_6_12_alpha"
4141
}
4242
}

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mu-wpcom-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Plugin Name: WordPress.com Features
55
* Description: Test plugin for the jetpack-mu-wpcom package
6-
* Version: 1.6.11
6+
* Version: 1.6.12-alpha
77
* Author: Automattic
88
* License: GPLv2 or later
99
* Text Domain: jetpack-mu-wpcom-plugin

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@automattic/jetpack-mu-wpcom-plugin",
4-
"version": "1.6.11",
4+
"version": "1.6.12-alpha",
55
"description": "Test plugin for the jetpack-mu-wpcom package",
66
"homepage": "https://jetpack.com",
77
"bugs": {

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
require_once __DIR__ . '/composer/autoload_real.php';
2424

25-
return ComposerAutoloaderInitd9d132a783958a00a2c7cccff60ca42d_jetpack_mu_wpcom_pluginⓥ1_6_11::getLoader();
25+
return ComposerAutoloaderInitd9d132a783958a00a2c7cccff60ca42d_jetpack_mu_wpcom_pluginⓥ1_6_12_alpha::getLoader();

vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.4.0-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
12+
### Added
13+
- Newsletter launchpad: add migrate content task
14+
815
## [4.3.1] - 2023-08-09
916
### Added
1017
- Adds the 'Write 3 posts' launchpad task to the 'Write' intent [#32341]
@@ -294,6 +301,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
294301

295302
- Testing initial package release.
296303

304+
[4.4.0-alpha]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v4.3.1...v4.4.0-alpha
297305
[4.3.1]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v4.3.0...v4.3.1
298306
[4.3.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v4.2.0...v4.3.0
299307
[4.2.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v4.1.0...v4.2.0

vendor/automattic/jetpack-mu-wpcom/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"autotagger": true,
4040
"branch-alias": {
41-
"dev-trunk": "4.3.x-dev"
41+
"dev-trunk": "4.4.x-dev"
4242
},
4343
"textdomain": "jetpack-mu-wpcom",
4444
"version-constants": {

vendor/automattic/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
class Jetpack_Mu_Wpcom {
1616

17-
const PACKAGE_VERSION = '4.3.1';
17+
const PACKAGE_VERSION = '4.4.0-alpha';
1818
const PKG_DIR = __DIR__ . '/../';
1919

2020
/**

vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@ function wpcom_launchpad_get_task_definitions() {
153153
'is_complete_callback' => 'wpcom_is_task_option_completed',
154154
'is_visible_callback' => 'wpcom_has_goal_import_subscribers',
155155
),
156+
'migrate_content' => array(
157+
'get_title' => function () {
158+
return __( 'Migrate content', 'jetpack-mu-wpcom' );
159+
},
160+
'is_complete_callback' => 'wpcom_is_task_option_completed',
161+
'is_visible_callback' => 'wpcom_has_goal_import_subscribers',
162+
),
156163

157164
// Link in bio tasks.
158165
'link_in_bio_launched' => array(

0 commit comments

Comments
 (0)