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, '