Skip to content

Commit

Permalink
wpcom Features: add new Holiday Snow feature (#40478)
Browse files Browse the repository at this point in the history
This commit brings a new feature to the mu-wpcom package:

- That feature can be toggled via Settings > General in wp-admin.
- It is active from December 1st to January 4th by default.

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

Upstream-Ref: Automattic/jetpack@d416736
  • Loading branch information
jeherve authored and matticbot committed Dec 6, 2024
1 parent 8dc5f09 commit 6e32e47
Show file tree
Hide file tree
Showing 18 changed files with 370 additions and 107 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"automattic/jetpack-mu-wpcom": "^6.0.1-alpha"
"automattic/jetpack-mu-wpcom": "^6.1.0-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
Expand Down
68 changes: 34 additions & 34 deletions composer.lock

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

2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-blaze/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"automattic/jetpack-plans": "^0.5.1",
"automattic/jetpack-redirect": "^3.0.1",
"automattic/jetpack-status": "^5.0.1",
"automattic/jetpack-sync": "^4.0.2"
"automattic/jetpack-sync": "^4.1.0-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
Expand Down
1 change: 1 addition & 0 deletions vendor/automattic/jetpack-mu-wpcom/.eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/features/newspack-blocks/synced-newspack-blocks
src/features/holiday-snow/snowstorm.js
7 changes: 5 additions & 2 deletions vendor/automattic/jetpack-mu-wpcom/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).

## [6.0.1-alpha] - unreleased
## [6.1.0-alpha] - unreleased

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

### Added
- WordPress.com Features: add Holiday Snow functionality.

### Changed
- Use wp_add_inline_script

Expand Down Expand Up @@ -1326,7 +1329,7 @@ This is an alpha version! The changes listed here are not final.

- Testing initial package release.

[6.0.1-alpha]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v6.0.0...v6.0.1-alpha
[6.1.0-alpha]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v6.0.0...v6.1.0-alpha
[6.0.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.66.0...v6.0.0
[5.66.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.65.0...v5.66.0
[5.65.0]: https://github.com/Automattic/jetpack-mu-wpcom/compare/v5.64.0...v5.65.0
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-mu-wpcom/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"autotagger": true,
"branch-alias": {
"dev-trunk": "6.0.x-dev"
"dev-trunk": "6.1.x-dev"
},
"textdomain": "jetpack-mu-wpcom",
"version-constants": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Jetpack_Mu_Wpcom main class.
*/
class Jetpack_Mu_Wpcom {
const PACKAGE_VERSION = '6.0.1-alpha';
const PACKAGE_VERSION = '6.1.0-alpha';
const PKG_DIR = __DIR__ . '/../';
const BASE_DIR = __DIR__ . '/';
const BASE_FILE = __FILE__;
Expand Down Expand Up @@ -103,6 +103,7 @@ public static function load_features() {
require_once __DIR__ . '/features/first-posts-stream/first-posts-stream-helpers.php';
require_once __DIR__ . '/features/font-smoothing-antialiased/font-smoothing-antialiased.php';
require_once __DIR__ . '/features/google-analytics/google-analytics.php';
require_once __DIR__ . '/features/holiday-snow/class-holiday-snow.php';
require_once __DIR__ . '/features/import-customizations/import-customizations.php';
require_once __DIR__ . '/features/marketplace-products-updater/class-marketplace-products-updater.php';
require_once __DIR__ . '/features/media/heif-support.php';
Expand All @@ -118,6 +119,8 @@ public static function load_features() {
\Automattic\Jetpack\Classic_Theme_Helper\Main::init();
\Automattic\Jetpack\Classic_Theme_Helper\Featured_Content::setup();

\Automattic\Jetpack\Jetpack_Mu_Wpcom\Holiday_Snow::init();

// Gets autoloaded from the Scheduled_Updates package.
if ( class_exists( 'Automattic\Jetpack\Scheduled_Updates' ) ) {
Scheduled_Updates::init();
Expand Down
Loading

0 comments on commit 6e32e47

Please sign in to comment.