Skip to content

Commit 539dfa1

Browse files
phcpmatticbot
authored andcommitted
Load Scheduled_Updates for non-wpcom users (#38772)
* Load Scheduled_Updates for non wpcom users * changelog * Update version to 5.54.1-alpha Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10302682307 Upstream-Ref: Automattic/jetpack@a20e801
1 parent d21cdd7 commit 539dfa1

File tree

6 files changed

+100
-91
lines changed

6 files changed

+100
-91
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
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": "^5.54.0"
7+
"automattic/jetpack-mu-wpcom": "^5.54.1-alpha"
88
},
99
"require-dev": {
1010
"yoast/phpunit-polyfills": "1.1.0",

composer.lock

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

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+
## [5.54.1-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
12+
### Fixed
13+
- Load Scheduled_Updates for non-wpcom users
14+
815
## [5.54.0] - 2024-08-08
916
### Added
1017
- MU WPCOM: Port enqueue_coblocks_gallery_scripts from the ETK [#38731]
@@ -1116,6 +1123,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11161123

11171124
- Testing initial package release.
11181125

1126+
[5.54.1-alpha]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.54.0...v5.54.1-alpha
11191127
[5.54.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.53.1...v5.54.0
11201128
[5.53.1]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.53.0...v5.53.1
11211129
[5.53.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.52.1...v5.53.0

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Jetpack_Mu_Wpcom main class.
1414
*/
1515
class Jetpack_Mu_Wpcom {
16-
const PACKAGE_VERSION = '5.54.0';
16+
const PACKAGE_VERSION = '5.54.1-alpha';
1717
const PKG_DIR = __DIR__ . '/../';
1818
const BASE_DIR = __DIR__ . '/';
1919
const BASE_FILE = __FILE__;
@@ -113,6 +113,11 @@ public static function load_features() {
113113
\Marketplace_Products_Updater::init();
114114
\Automattic\Jetpack\Classic_Theme_Helper\Main::init();
115115
\Automattic\Jetpack\Classic_Theme_Helper\Featured_Content::setup();
116+
117+
// Gets autoloaded from the Scheduled_Updates package.
118+
if ( class_exists( 'Automattic\Jetpack\Scheduled_Updates' ) ) {
119+
Scheduled_Updates::init();
120+
}
116121
}
117122

118123
/**
@@ -145,10 +150,6 @@ public static function load_wpcom_user_features() {
145150
// This is temporary. After we cleanup Masterbar on WPCOM we should load Masterbar for Simple sites too.
146151
\Automattic\Jetpack\Masterbar\Main::init();
147152
}
148-
// Gets autoloaded from the Scheduled_Updates package.
149-
if ( class_exists( 'Automattic\Jetpack\Scheduled_Updates' ) ) {
150-
Scheduled_Updates::init();
151-
}
152153
}
153154

154155
/**

0 commit comments

Comments
 (0)