From 91210a7ac5da972dea467959bd25e5371c44aee8 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Tue, 31 Mar 2026 07:47:03 +0800 Subject: [PATCH 1/3] 3.2.3 --- composer.json | 2 +- languages/convertkit.pot | 4 ++-- readme.txt | 5 ++++- wp-convertkit.php | 6 +++--- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index ec1c0b32b..800f2ab5c 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "project", "license": "GPLv3", "require": { - "convertkit/convertkit-wordpress-libraries": "2.1.4" + "convertkit/convertkit-wordpress-libraries": "2.1.3" }, "require-dev": { "php-webdriver/webdriver": "^1.0", diff --git a/languages/convertkit.pot b/languages/convertkit.pot index 85fffc255..a399e6686 100644 --- a/languages/convertkit.pot +++ b/languages/convertkit.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPLv3 or later. msgid "" msgstr "" -"Project-Id-Version: Kit (formerly ConvertKit) 3.2.2.1\n" +"Project-Id-Version: Kit (formerly ConvertKit) 3.2.3\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/convertkit\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2026-03-30T09:17:48+00:00\n" +"POT-Creation-Date: 2026-03-30T23:46:33+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.12.0\n" "X-Domain: convertkit\n" diff --git a/readme.txt b/readme.txt index f4edbc1c0..799401e40 100755 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: email marketing, email newsletter, subscribers, landing page, membership Requires at least: 5.6 Tested up to: 6.9 Requires PHP: 7.1 -Stable tag: 3.2.2.1 +Stable tag: 3.2.3 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -343,6 +343,9 @@ The documentation covers newsletter form setup, landing page configuration, memb == Changelog == +### 3.2.3 2026-03-31 +* Fix: Downgrade WordPress Libraries to 2.1.3, resolving issues in 3.2.2 and 3.2.2.1 + ### 3.2.2.1 2026-03-30 * Fix: Fatal error: Cannot redeclare trait ConvertKit_API\ConvertKit_API_Traits diff --git a/wp-convertkit.php b/wp-convertkit.php index 7c2f57242..1cfad862a 100644 --- a/wp-convertkit.php +++ b/wp-convertkit.php @@ -9,7 +9,7 @@ * Plugin Name: Kit (formerly ConvertKit) * Plugin URI: https://kit.com/ * Description: Display Kit (formerly ConvertKit) email subscription forms, landing pages, products, broadcasts and more. - * Version: 3.2.2.1 + * Version: 3.2.3 * Author: Kit * Author URI: https://kit.com/ * Text Domain: convertkit @@ -27,12 +27,12 @@ define( 'CONVERTKIT_PLUGIN_FILE', plugin_basename( __FILE__ ) ); define( 'CONVERTKIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'CONVERTKIT_PLUGIN_PATH', __DIR__ ); -define( 'CONVERTKIT_PLUGIN_VERSION', '3.2.2.1' ); +define( 'CONVERTKIT_PLUGIN_VERSION', '3.2.3' ); define( 'CONVERTKIT_OAUTH_CLIENT_ID', 'HXZlOCj-K5r0ufuWCtyoyo3f688VmMAYSsKg1eGvw0Y' ); define( 'CONVERTKIT_OAUTH_CLIENT_REDIRECT_URI', 'https://app.kit.com/wordpress/redirect' ); // Load shared classes, if they have not been included by another Kit Plugin. -if ( ! trait_exists( 'ConvertKit_API\ConvertKit_API_Traits' ) ) { +if ( ! trait_exists( 'ConvertKit_API_Traits' ) ) { require_once CONVERTKIT_PLUGIN_PATH . '/vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-api-traits.php'; } if ( ! class_exists( 'ConvertKit_API_V4' ) ) { From 7156318b04a9c6e3bd78353d2c9ef13d4fd840b0 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Tue, 31 Mar 2026 07:55:32 +0800 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6fa36722..0a4091ab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 3.2.3 2026-03-31 +* Fix: Downgrade WordPress Libraries to 2.1.3, resolving issues in 3.2.2 and 3.2.2.1 + ### 3.2.2.1 2026-03-30 * Fix: Fatal error: Cannot redeclare trait ConvertKit_API\ConvertKit_API_Traits From f22ff6eecc70fd70f5fb58ac06aeaa37ae5e984d Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Tue, 31 Mar 2026 07:58:33 +0800 Subject: [PATCH 3/3] Check if namespaced and non-namespaced trait exists before loading traits --- wp-convertkit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-convertkit.php b/wp-convertkit.php index 1cfad862a..2d32bdfc0 100644 --- a/wp-convertkit.php +++ b/wp-convertkit.php @@ -32,7 +32,7 @@ define( 'CONVERTKIT_OAUTH_CLIENT_REDIRECT_URI', 'https://app.kit.com/wordpress/redirect' ); // Load shared classes, if they have not been included by another Kit Plugin. -if ( ! trait_exists( 'ConvertKit_API_Traits' ) ) { +if ( ! trait_exists( 'ConvertKit_API_Traits' ) && ! trait_exists( 'ConvertKit_API\ConvertKit_API_Traits' ) ) { require_once CONVERTKIT_PLUGIN_PATH . '/vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-api-traits.php'; } if ( ! class_exists( 'ConvertKit_API_V4' ) ) {