Skip to content

Commit

Permalink
Blocks: initialize connection assets in Story block (#39870)
Browse files Browse the repository at this point in the history
Initialize connection assets in the Story block to fix the block assets loading issue.

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

Upstream-Ref: Automattic/jetpack@7367cf0
  • Loading branch information
sergeymitr authored and matticbot committed Oct 24, 2024
1 parent afebc54 commit 55f8bed
Show file tree
Hide file tree
Showing 15 changed files with 121 additions and 113 deletions.
76 changes: 38 additions & 38 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 @@ -6,7 +6,7 @@
"require": {
"php": ">=7.0",
"automattic/jetpack-assets": "^2.3.10",
"automattic/jetpack-connection": "^5.1.4",
"automattic/jetpack-connection": "^5.1.5-alpha",
"automattic/jetpack-constants": "^2.0.4",
"automattic/jetpack-plans": "^0.4.12",
"automattic/jetpack-redirect": "^2.0.4",
Expand Down
5 changes: 5 additions & 0 deletions vendor/automattic/jetpack-connection/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ 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).

## [5.1.5-alpha] - unreleased

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

## [5.1.4] - 2024-10-21
### Changed
- SSO: optimize 'admin_notices' action callback. [#39811]
Expand Down Expand Up @@ -1230,6 +1234,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Separate the connection library into its own package.

[5.1.5-alpha]: https://github.com/Automattic/jetpack-connection/compare/v5.1.4...v5.1.5-alpha
[5.1.4]: https://github.com/Automattic/jetpack-connection/compare/v5.1.3...v5.1.4
[5.1.3]: https://github.com/Automattic/jetpack-connection/compare/v5.1.2...v5.1.3
[5.1.2]: https://github.com/Automattic/jetpack-connection/compare/v5.1.1...v5.1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public static function configure() {

/**
* Register assets.
*
* NOTICE: Please think twice before including Connection scripts in the frontend.
* Those scripts are intended to be used in WP admin area.
*/
public static function register_assets() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class Package_Version {

const PACKAGE_VERSION = '5.1.4';
const PACKAGE_VERSION = '5.1.5-alpha';

const PACKAGE_SLUG = 'connection';

Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-jitm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"php": ">=7.0",
"automattic/jetpack-a8c-mc-stats": "^2.0.3",
"automattic/jetpack-assets": "^2.3.10",
"automattic/jetpack-connection": "^5.1.4",
"automattic/jetpack-connection": "^5.1.5-alpha",
"automattic/jetpack-device-detection": "^2.1.5",
"automattic/jetpack-logo": "^2.0.4",
"automattic/jetpack-redirect": "^2.0.4",
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-masterbar/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"automattic/jetpack-blaze": "^0.23.2",
"automattic/jetpack-compat": "^3.0.2",
"automattic/jetpack-device-detection": "^2.1.5",
"automattic/jetpack-connection": "^5.1.4",
"automattic/jetpack-connection": "^5.1.5-alpha",
"automattic/jetpack-jitm": "^3.1.26",
"automattic/jetpack-logo": "^2.0.4",
"automattic/jetpack-plans": "^0.4.12",
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 @@ -9,7 +9,7 @@
"automattic/jetpack-blocks": "^2.0.6",
"automattic/jetpack-calypsoify": "^0.1.7-alpha",
"automattic/jetpack-classic-theme-helper": "^0.6.4",
"automattic/jetpack-connection": "^5.1.4",
"automattic/jetpack-connection": "^5.1.5-alpha",
"automattic/jetpack-masterbar": "^0.9.6",
"automattic/jetpack-redirect": "^2.0.4",
"automattic/jetpack-stats-admin": "^0.22.4-alpha",
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-plans/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-connection": "^5.1.4"
"automattic/jetpack-connection": "^5.1.5-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-stats-admin/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-connection": "^5.1.4",
"automattic/jetpack-connection": "^5.1.5-alpha",
"automattic/jetpack-constants": "^2.0.4",
"automattic/jetpack-plans": "^0.4.12",
"automattic/jetpack-stats": "^0.13.3",
Expand Down
Loading

0 comments on commit 55f8bed

Please sign in to comment.