From 8132b2bdd8a28507e68709eb8a140fabd94da672 Mon Sep 17 00:00:00 2001 From: sergeymitr Date: Fri, 11 Oct 2024 15:26:45 +0000 Subject: [PATCH] Jetpack: optimize the 'admin_init' hook callback for Sharing module (#39737) Jetpack sharing module: do not add the form processing callback to `admin_init` hook unless we actually need it. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11294832635 Upstream-Ref: Automattic/jetpack@f5dff4e146ec9dc82ae175d535e75bb054e8bc85 --- jetpack_vendor/automattic/jetpack-sync/composer.json | 2 +- vendor/composer/installed.json | 4 ++-- vendor/composer/installed.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jetpack_vendor/automattic/jetpack-sync/composer.json b/jetpack_vendor/automattic/jetpack-sync/composer.json index 25c0dad1..9ae465a2 100644 --- a/jetpack_vendor/automattic/jetpack-sync/composer.json +++ b/jetpack_vendor/automattic/jetpack-sync/composer.json @@ -16,7 +16,7 @@ "automattic/jetpack-changelogger": "^4.2.6", "yoast/phpunit-polyfills": "^1.1.1", "automattic/jetpack-search": "@dev", - "automattic/jetpack-waf": "^0.22.0-alpha", + "automattic/jetpack-waf": "@dev", "automattic/wordbless": "@dev" }, "suggest": { diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 5834b74c..b1319deb 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1820,7 +1820,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "16639679766a1e0bfe1d83c7639438be08053fec" + "reference": "7e5188dd01d07fc540f6c43811877ed6c2ff214e" }, "require": { "automattic/jetpack-connection": "^5.1.3", @@ -1834,7 +1834,7 @@ "require-dev": { "automattic/jetpack-changelogger": "^4.2.6", "automattic/jetpack-search": "@dev", - "automattic/jetpack-waf": "^0.22.0-alpha", + "automattic/jetpack-waf": "@dev", "automattic/wordbless": "@dev", "yoast/phpunit-polyfills": "^1.1.1" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index ea75f7b2..5e280435 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -265,7 +265,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '3.14.1-alpha.1728625192', 'version' => '3.14.1.0-alpha1728625192', - 'reference' => '16639679766a1e0bfe1d83c7639438be08053fec', + 'reference' => '7e5188dd01d07fc540f6c43811877ed6c2ff214e', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync', 'aliases' => array(),