diff --git a/ACTIONS-FILTERS.md b/ACTIONS-FILTERS.md index 1576ba294..625d61fcc 100644 --- a/ACTIONS-FILTERS.md +++ b/ACTIONS-FILTERS.md @@ -190,6 +190,10 @@   convertkit_output_restrict_content_call_to_action Define the output for the call to action, displayed below the content preview, when the visitor is not an authenticated subscriber. + +   + convertkit_output_restrict_content_container_css_classes + Define the container CSS classes to wrap the content preview and call to action within.   convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges @@ -1003,7 +1007,7 @@ add_filter( 'convertkit_settings_broadcasts_get_defaults', function( $defaults )

convertkit_settings_restrict_content_get_defaults - includes/class-convertkit-settings-restrict-content.php::163 + includes/class-convertkit-settings-restrict-content.php::164

Overview

The default settings, used when the ConvertKit Restrict Content Settings haven't been saved e.g. on a new installation.

Parameters

@@ -1291,9 +1295,40 @@ add_filter( 'convertkit_output_restrict_content_call_to_action', function( $call return $call_to_action; }, 10, 2 ); +

+ convertkit_output_restrict_content_container_css_classes + includes/class-convertkit-output-restrict-content.php::1239 +

Overview

+

Define the container CSS classes to wrap the content preview and call to action within.

Parameters

+
+ + + + + + + + + + + + + + + + + +
ParameterTypeDescription
$container_css_classesarrayContainer CSS classes.
$post_idintPost ID.

Usage

+
+add_filter( 'convertkit_output_restrict_content_container_css_classes', function( $container_css_classes, $post_id ) {
+	// ... your code here
+	// Return value
+	return $container_css_classes;
+}, 10, 2 );
+

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

Overview

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

Parameters

diff --git a/CHANGELOG.md b/CHANGELOG.md index aefdc079f..6787db931 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +### 3.1.4 2026-01-12 +* Added: Settings: Member Content: Container CSS Class setting +* Added: Member Content: Automatically add `grve-container` CSS class for Impeka Theme +* Fix: Form Builder: Set email field type=email +* Fix: Blocks: Use Spinner when ProgressBar component unavailable in WordPress versions older than 6.3 +* Updated: Blocks: Use apiVersion 2 + +### 3.1.3 2025-12-18 +* Added: Blocks: Field controls: Use 40px default size +* Fix: Blocks: Static flag warning +* Fix: Blocks: Unique `key` prop warning +* Fix: Setup Wizard: Replace `ConvertKit` with `Kit` in browser tab/window title +* Updated: Use WordPress Libraries 2.1.3 + ### 3.1.2 2025-12-03 * Fix: Settings: Improve logic to automatically delete invalid Access Tokens * Fix: Settings: Disconnect: Immediately disconnect Plugin from Kit, instead of loading resources first diff --git a/languages/convertkit.pot b/languages/convertkit.pot index 6b7dea0c9..5701ba351 100644 --- a/languages/convertkit.pot +++ b/languages/convertkit.pot @@ -1,15 +1,15 @@ -# Copyright (C) 2025 Kit +# Copyright (C) 2026 Kit # This file is distributed under the GPLv3 or later. msgid "" msgstr "" -"Project-Id-Version: Kit (formerly ConvertKit) 3.1.3\n" +"Project-Id-Version: Kit (formerly ConvertKit) 3.1.4\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: 2025-12-18T10:45:11+00:00\n" +"POT-Creation-Date: 2026-01-10T10:03:26+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" @@ -39,7 +39,7 @@ msgstr "" #: includes/blocks/class-convertkit-block-broadcasts.php:134 #: includes/blocks/class-convertkit-block-content.php:85 #: includes/blocks/class-convertkit-block-form-builder-field-custom.php:72 -#: includes/blocks/class-convertkit-block-form-builder-field-email.php:99 +#: includes/blocks/class-convertkit-block-form-builder-field-email.php:108 #: includes/blocks/class-convertkit-block-form-builder-field-name.php:90 #: includes/blocks/class-convertkit-block-form-builder.php:353 #: includes/blocks/class-convertkit-block-form-trigger.php:104 @@ -331,7 +331,7 @@ msgid "First Name" msgstr "" #: admin/section/class-convertkit-admin-section-form-entries.php:158 -#: includes/blocks/class-convertkit-block-form-builder-field-email.php:100 +#: includes/blocks/class-convertkit-block-form-builder-field-email.php:109 msgid "Email" msgstr "" @@ -791,24 +791,32 @@ msgstr "" msgid "The text to display instructing the subscriber to check their email for the login link that was sent." msgstr "" +#: admin/section/class-convertkit-admin-section-restrict-content.php:338 +msgid "Container CSS Classes" +msgstr "" + #: admin/section/class-convertkit-admin-section-restrict-content.php:346 +msgid "Optional CSS classes to apply to the container wrapping the content preview and call to action for non-authenticated subscribers." +msgstr "" + +#: admin/section/class-convertkit-admin-section-restrict-content.php:361 msgid "Defines the text and button labels to display when a Page, Post or Custom Post has its Member Content setting defined." msgstr "" -#: admin/section/class-convertkit-admin-section-restrict-content.php:359 +#: admin/section/class-convertkit-admin-section-restrict-content.php:374 msgid "Defines settings when a Page, Post or Custom Post type has its member content setting set to a Kit form." msgstr "" -#: admin/section/class-convertkit-admin-section-restrict-content.php:372 +#: admin/section/class-convertkit-admin-section-restrict-content.php:387 msgid "Defines settings when a Page, Post or Custom Post type has its member content setting set to a Kit product." msgstr "" -#: admin/section/class-convertkit-admin-section-restrict-content.php:386 +#: admin/section/class-convertkit-admin-section-restrict-content.php:401 msgid "Defines settings when a Page, Post or Custom Post type has its member content setting set to a Kit tag." msgstr "" #. translators: 1: General settings screen link, 2: Closing link tag -#: admin/section/class-convertkit-admin-section-restrict-content.php:398 +#: admin/section/class-convertkit-admin-section-restrict-content.php:413 #, php-format msgid "Looking for reCAPTCHA settings? They can now be found in the %1$sGeneral settings screen%2$s." msgstr "" @@ -1011,7 +1019,7 @@ msgstr "" #: includes/blocks/class-convertkit-block-broadcasts.php:133 #: includes/blocks/class-convertkit-block-content.php:84 #: includes/blocks/class-convertkit-block-form-builder-field-custom.php:71 -#: includes/blocks/class-convertkit-block-form-builder-field-email.php:98 +#: includes/blocks/class-convertkit-block-form-builder-field-email.php:107 #: includes/blocks/class-convertkit-block-form-builder-field-name.php:89 #: includes/blocks/class-convertkit-block-form-builder.php:352 #: includes/blocks/class-convertkit-block-form-trigger.php:103 @@ -1203,7 +1211,7 @@ msgid "Custom" msgstr "" #: includes/blocks/class-convertkit-block-form-builder-field-custom.php:74 -#: includes/blocks/class-convertkit-block-form-builder-field-email.php:101 +#: includes/blocks/class-convertkit-block-form-builder-field-email.php:110 #: includes/blocks/class-convertkit-block-form-builder-field-name.php:92 msgid "Field" msgstr "" @@ -1241,11 +1249,11 @@ msgstr "" msgid "The Kit custom field to store this field's entered value." msgstr "" -#: includes/blocks/class-convertkit-block-form-builder-field-email.php:68 +#: includes/blocks/class-convertkit-block-form-builder-field-email.php:77 msgid "Kit Form Builder: Email Field" msgstr "" -#: includes/blocks/class-convertkit-block-form-builder-field-email.php:94 +#: includes/blocks/class-convertkit-block-form-builder-field-email.php:103 msgid "Adds an email field to the Kit Form Builder." msgstr "" diff --git a/readme.txt b/readme.txt index 6c7fba939..b234f1da9 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.1.3 +Stable tag: 3.1.4 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -343,6 +343,13 @@ The documentation covers newsletter form setup, landing page configuration, memb == Changelog == +### 3.1.4 2026-01-12 +* Added: Settings: Member Content: Container CSS Class setting +* Added: Member Content: Automatically add `grve-container` CSS class for Impeka Theme +* Fix: Form Builder: Set email field type=email +* Fix: Blocks: Use Spinner when ProgressBar component unavailable in WordPress versions older than 6.3 +* Updated: Blocks: Use apiVersion 2 + ### 3.1.3 2025-12-18 * Added: Blocks: Field controls: Use 40px default size * Fix: Blocks: Static flag warning diff --git a/wp-convertkit.php b/wp-convertkit.php index 4641bce42..c7666a76e 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.1.3 + * Version: 3.1.4 * 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.1.3' ); +define( 'CONVERTKIT_PLUGIN_VERSION', '3.1.4' ); define( 'CONVERTKIT_OAUTH_CLIENT_ID', 'HXZlOCj-K5r0ufuWCtyoyo3f688VmMAYSsKg1eGvw0Y' ); define( 'CONVERTKIT_OAUTH_CLIENT_REDIRECT_URI', 'https://app.kit.com/wordpress/redirect' );