From 458fd64e4c36c18ffa134429befc12206c13b48e Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Thu, 20 Nov 2025 11:40:51 +0800 Subject: [PATCH 1/2] 3.1.0 --- readme.txt | 14 +++++++++++++- wp-convertkit.php | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index ef75a61d7..48418c3c4 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.8 Requires PHP: 7.1 -Stable tag: 3.0.8 +Stable tag: 3.1.0 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -179,6 +179,18 @@ Full Plugin documentation can be found [here](https://help.kit.com/en/articles/2 == Changelog == +### 3.1.0 2025-11-20 +* Added: Settings: Tools: Mailchimp for WordPress to Kit Form Importer +* Fix: Settings: Non-inline Forms: Correctly output `data-kit-limit-per-session` +* Fix: Settings: Automatically delete invalid Access Tokens +* Fix: Member Content: Courses: Next/Previous Links compatibility for WordPress 6.9 +* Fix: Landing Pages: Prevent LazyLoad Plugin from lazy loading images on Landing Pages, which would result in missing images +* Updated: Blocks: Refresh Resources: Use REST API, replacing admin-ajax.php +* Updated: Refresh Resources: Use REST API, replacing admin-ajax.php +* Updated: Member Content: Use REST API, replacing admin-ajax.php +* Updated: Use WordPress Libraries 2.1.1 +* Removed: Unused `convertkit_store_subscriber_id_in_cookie` AJAX function + ### 3.0.8 2025-11-05 * Fix: Member Content: Product: Display 'no access' notice when logged in and no access diff --git a/wp-convertkit.php b/wp-convertkit.php index e72dd385d..bf251859e 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.0.8 + * Version: 3.1.0 * Author: Kit * Author URI: https://kit.com/ * Text Domain: convertkit @@ -27,7 +27,7 @@ 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.0.8' ); +define( 'CONVERTKIT_PLUGIN_VERSION', '3.1.0' ); define( 'CONVERTKIT_OAUTH_CLIENT_ID', 'HXZlOCj-K5r0ufuWCtyoyo3f688VmMAYSsKg1eGvw0Y' ); define( 'CONVERTKIT_OAUTH_CLIENT_REDIRECT_URI', 'https://app.kit.com/wordpress/redirect' ); From e5c0f995757e8e73596beffe0c6e64d2dc4a2fb9 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Thu, 20 Nov 2025 12:43:12 +0800 Subject: [PATCH 2/2] Update changelog, translations and actions/filters --- ACTIONS-FILTERS.md | 108 +++++++++++------------ CHANGELOG.md | 12 +++ languages/convertkit.pot | 183 +++++++++++++++++++++------------------ 3 files changed, 164 insertions(+), 139 deletions(-) diff --git a/ACTIONS-FILTERS.md b/ACTIONS-FILTERS.md index bcae0dbe4..3276f72b2 100644 --- a/ACTIONS-FILTERS.md +++ b/ACTIONS-FILTERS.md @@ -7,12 +7,6 @@ - admin/class-convertkit-admin-notices.php - -   - convertkit_admin_notices_output_ notice - Define the text to output in an admin error notice. - admin/section/class-convertkit-admin-section-base.php   @@ -114,6 +108,12 @@   convertkit_block_form_trigger_render Filter the block's content immediately before it is output. + + includes/class-convertkit-admin-notices.php + +   + convertkit_admin_notices_output_ notice + Define the text to output in an admin error notice. includes/class-convertkit-post.php @@ -250,34 +250,7 @@ Define the HTML tags to retain in the Broadcast Content. -

- convertkit_admin_notices_output_ notice - admin/class-convertkit-admin-notices.php::87 -

Overview

-

Define the text to output in an admin error notice.

Parameters

- - - - - - - - - - - - - - -
ParameterTypeDescription
$noticestringAdmin notice name.

Usage

-
-add_filter( 'convertkit_admin_notices_output_  notice', function( $output ) {
-	// ... your code here
-	// Return value
-	return $output;
-}, 10, 1 );
-
-

+

convertkit_settings_base_register_notices admin/section/class-convertkit-admin-section-base.php::208

Overview

@@ -885,6 +858,33 @@ add_filter( 'convertkit_block_form_trigger_render', function( $html, $atts ) { return $html; }, 10, 2 ); +

+ convertkit_admin_notices_output_ notice + includes/class-convertkit-admin-notices.php::87 +

Overview

+

Define the text to output in an admin error notice.

Parameters

+ + + + + + + + + + + + + + +
ParameterTypeDescription
$noticestringAdmin notice name.

Usage

+
+add_filter( 'convertkit_admin_notices_output_  notice', function( $output ) {
+	// ... your code here
+	// Return value
+	return $output;
+}, 10, 1 );
+

convertkit_post_settings includes/class-convertkit-post.php::85 @@ -1057,7 +1057,7 @@ add_filter( 'convertkit_user_get_default_settings', function( $defaults ) {

convertkit_admin_gutenberg_add_block_categories - includes/class-convertkit-gutenberg.php::66 + includes/class-convertkit-gutenberg.php::107

Overview

Adds block categories to the default Gutenberg Block Categories

Parameters

@@ -1169,7 +1169,7 @@ add_filter( 'convertkit_wishlist_settings_get_defaults', function( $defaults ) {

convertkit_output_restrict_content_get_resource_type - includes/class-convertkit-output-restrict-content.php::755 + includes/class-convertkit-output-restrict-content.php::882

Overview

Define the ConvertKit Resource Type that the visitor must be subscribed against to access this content, overriding the Post setting. Return false or an empty string to not restrict content.

Parameters

@@ -1200,7 +1200,7 @@ add_filter( 'convertkit_output_restrict_content_get_resource_type', function( $r

convertkit_output_restrict_content_get_resource_id - includes/class-convertkit-output-restrict-content.php::793 + includes/class-convertkit-output-restrict-content.php::920

Overview

Define the ConvertKit Resource ID that the visitor must be subscribed against to access this content, overriding the Post setting. Return 0 to not restrict content.

Parameters

@@ -1231,7 +1231,7 @@ add_filter( 'convertkit_output_restrict_content_get_resource_id', function( $res

convertkit_output_restrict_content_content_preview - includes/class-convertkit-output-restrict-content.php::1095 + includes/class-convertkit-output-restrict-content.php::1212

Overview

Define the output for the content preview when the visitor is not an authenticated subscriber.

Parameters

@@ -1262,7 +1262,7 @@ add_filter( 'convertkit_output_restrict_content_content_preview', function( $con

convertkit_output_restrict_content_call_to_action - includes/class-convertkit-output-restrict-content.php::1109 + includes/class-convertkit-output-restrict-content.php::1226

Overview

Define the output for the call to action, displayed below the content preview, when the visitor is not an authenticated subscriber.

Parameters

@@ -1293,7 +1293,7 @@ add_filter( 'convertkit_output_restrict_content_call_to_action', function( $call

convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges - includes/class-convertkit-output-restrict-content.php::1826 + includes/class-convertkit-output-restrict-content.php::1945

Overview

Define the permitted user agents and their IP address ranges that can bypass Restrict Content to index content for search engines.

Parameters

@@ -1425,7 +1425,7 @@ add_filter( 'convertkit_frontend_append_form', function( $content, $form, $post_

Overview

Define an array of scripts to output in the footer of the WordPress site.

Parameters

@@ -1452,7 +1452,7 @@ add_filter( 'convertkit_output_scripts_footer', function( $scripts ) {

Overview

Filter the form