From 0aa7c29178f727bbe980162a746a0f8d31d379bc Mon Sep 17 00:00:00 2001 From: Bitpoke Bot Date: Fri, 22 Sep 2023 08:36:12 +0000 Subject: [PATCH] Update `Jetpack` plugin from 12.6 to 12.6.1 --- wp-content/plugins/jetpack/CHANGELOG.md | 4 + wp-content/plugins/jetpack/composer.json | 2 +- wp-content/plugins/jetpack/jetpack.php | 4 +- ...ss-jetpack-woocommerce-analytics-trait.php | 10 +-- wp-content/plugins/jetpack/readme.txt | 85 +------------------ .../plugins/jetpack/vendor/autoload.php | 2 +- .../jetpack/vendor/autoload_packages.php | 2 +- .../jetpack/vendor/composer/autoload_real.php | 10 +-- .../vendor/composer/autoload_static.php | 10 +-- .../class-autoloader-handler.php | 2 +- .../class-autoloader-locator.php | 2 +- .../jetpack-autoloader/class-autoloader.php | 2 +- .../jetpack-autoloader/class-container.php | 2 +- .../jetpack-autoloader/class-hook-manager.php | 2 +- .../class-latest-autoloader-guard.php | 2 +- .../class-manifest-reader.php | 2 +- .../class-path-processor.php | 2 +- .../class-php-autoloader.php | 2 +- .../class-plugin-locator.php | 2 +- .../class-plugins-handler.php | 2 +- .../class-shutdown-handler.php | 2 +- .../class-version-loader.php | 2 +- .../class-version-selector.php | 2 +- 23 files changed, 42 insertions(+), 115 deletions(-) diff --git a/wp-content/plugins/jetpack/CHANGELOG.md b/wp-content/plugins/jetpack/CHANGELOG.md index 86952d70d..dd1a23114 100644 --- a/wp-content/plugins/jetpack/CHANGELOG.md +++ b/wp-content/plugins/jetpack/CHANGELOG.md @@ -2,6 +2,10 @@ ### This is a list detailing changes for all Jetpack releases. +## 12.6.1 - 2023-09-21 +### Bug Fixes +- WooCommerce Analytics: fix a fatal error that can occur with WooCommerce enabled. + ## 12.6 - 2023-09-19 ### Enhancements - AI Assistant: add prompts for correct feature configuration. [#33064] diff --git a/wp-content/plugins/jetpack/composer.json b/wp-content/plugins/jetpack/composer.json index 5841ec6fa..6f25d8574 100644 --- a/wp-content/plugins/jetpack/composer.json +++ b/wp-content/plugins/jetpack/composer.json @@ -96,7 +96,7 @@ "platform": { "ext-intl": "0.0.0" }, - "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ12_6", + "autoloader-suffix": "f11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ12_6_1", "allow-plugins": { "automattic/jetpack-autoloader": true, "automattic/jetpack-composer-plugin": true diff --git a/wp-content/plugins/jetpack/jetpack.php b/wp-content/plugins/jetpack/jetpack.php index f22cefc96..7833f025e 100644 --- a/wp-content/plugins/jetpack/jetpack.php +++ b/wp-content/plugins/jetpack/jetpack.php @@ -4,7 +4,7 @@ * Plugin URI: https://jetpack.com * Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things. * Author: Automattic - * Version: 12.6 + * Version: 12.6.1 * Author URI: https://jetpack.com * License: GPL2+ * Text Domain: jetpack @@ -34,7 +34,7 @@ define( 'JETPACK__MINIMUM_WP_VERSION', '6.2' ); define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' ); -define( 'JETPACK__VERSION', '12.6' ); +define( 'JETPACK__VERSION', '12.6.1' ); /** * Constant used to fetch the connection owner token diff --git a/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-trait.php b/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-trait.php index dc860fba2..106731f33 100644 --- a/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-trait.php +++ b/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-trait.php @@ -144,7 +144,7 @@ public function get_user_id() { * * @return array */ - public static function get_cart_checkout_info() { + public function get_cart_checkout_info() { $transient_name = 'jetpack_woocommerce_analytics_cart_checkout_info_cache'; $info = get_transient( $transient_name ); @@ -162,19 +162,19 @@ public static function get_cart_checkout_info() { $checkout_page_id = wc_get_page_id( 'checkout' ); $info = array( - 'cart_page_contains_cart_block' => self::post_contains_text( + 'cart_page_contains_cart_block' => $this->post_contains_text( $cart_page_id, '