Skip to content
Merged

3.1.4 #990

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 37 additions & 2 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@
<td>&nbsp;</td>
<td><a href="#convertkit_output_restrict_content_call_to_action"><code>convertkit_output_restrict_content_call_to_action</code></a></td>
<td>Define the output for the call to action, displayed below the content preview, when the visitor is not an authenticated subscriber.</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_output_restrict_content_container_css_classes"><code>convertkit_output_restrict_content_container_css_classes</code></a></td>
<td>Define the container CSS classes to wrap the content preview and call to action within.</td>
</tr><tr>
<td>&nbsp;</td>
<td><a href="#convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges"><code>convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges</code></a></td>
Expand Down Expand Up @@ -1003,7 +1007,7 @@ add_filter( 'convertkit_settings_broadcasts_get_defaults', function( $defaults )
</pre>
<h3 id="convertkit_settings_restrict_content_get_defaults">
convertkit_settings_restrict_content_get_defaults
<code>includes/class-convertkit-settings-restrict-content.php::163</code>
<code>includes/class-convertkit-settings-restrict-content.php::164</code>
</h3><h4>Overview</h4>
<p>The default settings, used when the ConvertKit Restrict Content Settings haven't been saved e.g. on a new installation.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -1291,9 +1295,40 @@ add_filter( 'convertkit_output_restrict_content_call_to_action', function( $call
return $call_to_action;
}, 10, 2 );
</pre>
<h3 id="convertkit_output_restrict_content_container_css_classes">
convertkit_output_restrict_content_container_css_classes
<code>includes/class-convertkit-output-restrict-content.php::1239</code>
</h3><h4>Overview</h4>
<p>Define the container CSS classes to wrap the content preview and call to action within.</p><h4>Parameters</h4>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>$container_css_classes</td>
<td>array</td>
<td>Container CSS classes.</td>
</tr><tr>
<td>$post_id</td>
<td>int</td>
<td>Post ID.</td>
</tr>
</tbody>
</table><h4>Usage</h4>
<pre>
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 );
</pre>
<h3 id="convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges">
convertkit_output_restrict_content_is_crawler_permitted_user_agent_ip_ranges
<code>includes/class-convertkit-output-restrict-content.php::1945</code>
<code>includes/class-convertkit-output-restrict-content.php::1966</code>
</h3><h4>Overview</h4>
<p>Define the permitted user agents and their IP address ranges that can bypass Restrict Content to index content for search engines.</p><h4>Parameters</h4>
<table>
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
34 changes: 21 additions & 13 deletions languages/convertkit.pot
Original file line number Diff line number Diff line change
@@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 ""

Expand Down Expand Up @@ -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 ""
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 ""
Expand Down Expand Up @@ -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 ""

Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions wp-convertkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' );

Expand Down