diff --git a/ACTIONS-FILTERS.md b/ACTIONS-FILTERS.md index 8171b5b87..571aaf755 100644 --- a/ACTIONS-FILTERS.md +++ b/ACTIONS-FILTERS.md @@ -302,7 +302,7 @@ add_filter( 'convertkit_get_supported_post_types', function( $post_types ) {

convertkit_get_supported_restrict_content_post_types - includes/functions.php::147 + includes/functions.php::148

Overview

Defines the Post Types that support Restricted Content / Members Content functionality.

Parameters

@@ -329,7 +329,7 @@ add_filter( 'convertkit_get_supported_restrict_content_post_types', function( $p

convertkit_shortcodes - includes/functions.php::171 + includes/functions.php::172

Overview

Registers shortcodes for the ConvertKit Plugin.

Parameters

@@ -356,7 +356,7 @@ add_filter( 'convertkit_shortcodes', function( $shortcodes ) {

convertkit_blocks - includes/functions.php::195 + includes/functions.php::196

Overview

Registers blocks for the ConvertKit Plugin.

Parameters

@@ -383,7 +383,7 @@ add_filter( 'convertkit_blocks', function( $blocks ) {

convertkit_get_block_formatters - includes/functions.php::219 + includes/functions.php::220

Overview

Registers block formatters in Gutenberg for the ConvertKit Plugin.

Parameters

@@ -728,7 +728,7 @@ add_filter( 'convertkit_settings_broadcasts_get_defaults', function( $defaults )

convertkit_settings_restrict_content_get_defaults - includes/class-convertkit-settings-restrict-content.php::132 + includes/class-convertkit-settings-restrict-content.php::118

Overview

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

Parameters

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

convertkit_output_restrict_content_get_resource_type - includes/class-convertkit-output-restrict-content.php::531 + includes/class-convertkit-output-restrict-content.php::575

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

@@ -925,7 +925,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::567 + includes/class-convertkit-output-restrict-content.php::611

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

@@ -1585,7 +1585,7 @@ do_action( 'convertkit_admin_post_enqueue_styles', function( ) {

convertkit_admin_setup_wizard_process_form_ this-page_name - admin/class-convertkit-admin-setup-wizard.php::229 + admin/class-convertkit-admin-setup-wizard.php::218

Overview

Process submitted form data for the given setup wizard name and current step.

Parameters

@@ -1610,7 +1610,7 @@ do_action( 'convertkit_admin_setup_wizard_process_form_ this-page_name', functi

convertkit_admin_setup_wizard_load_screen_data_ this-page_name - admin/class-convertkit-admin-setup-wizard.php::292 + admin/class-convertkit-admin-setup-wizard.php::281

Overview

Load any data into class variables for the given setup wizard name and current step.

Parameters

diff --git a/languages/convertkit.pot b/languages/convertkit.pot index 24909e894..9295a1189 100644 --- a/languages/convertkit.pot +++ b/languages/convertkit.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the ConvertKit plugin. msgid "" msgstr "" -"Project-Id-Version: ConvertKit 2.3.0\n" +"Project-Id-Version: ConvertKit 2.3.2\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: 2023-09-14T13:31:24+00:00\n" +"POT-Creation-Date: 2023-10-05T12:49:39+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.7.1\n" "X-Domain: convertkit\n" @@ -43,27 +43,27 @@ msgstr "" msgid "Sorry, you are not allowed to edit %s." msgstr "" -#: admin/class-convertkit-admin-cache-plugins.php:121 -#: admin/class-convertkit-admin-cache-plugins.php:192 -#: admin/class-convertkit-admin-cache-plugins.php:349 +#: admin/class-convertkit-admin-cache-plugins.php:115 +#: admin/class-convertkit-admin-cache-plugins.php:186 +#: admin/class-convertkit-admin-cache-plugins.php:343 msgid "ConvertKit: Member Content: Please add" msgstr "" -#: admin/class-convertkit-admin-cache-plugins.php:135 +#: admin/class-convertkit-admin-cache-plugins.php:129 msgid "to Litespeed Cache's \"Do Not Cache Cookies\" setting by clicking here." msgstr "" -#: admin/class-convertkit-admin-cache-plugins.php:137 -#: admin/class-convertkit-admin-cache-plugins.php:208 -#: admin/class-convertkit-admin-cache-plugins.php:366 +#: admin/class-convertkit-admin-cache-plugins.php:131 +#: admin/class-convertkit-admin-cache-plugins.php:202 +#: admin/class-convertkit-admin-cache-plugins.php:360 msgid "Failing to do so will result in errors." msgstr "" -#: admin/class-convertkit-admin-cache-plugins.php:206 +#: admin/class-convertkit-admin-cache-plugins.php:200 msgid "to W3 Total Cache's \"Rejected Cookies\" setting by clicking here." msgstr "" -#: admin/class-convertkit-admin-cache-plugins.php:364 +#: admin/class-convertkit-admin-cache-plugins.php:358 msgid "to WP Super Cache's \"Rejected Cookies\" setting by clicking here." msgstr "" @@ -75,87 +75,78 @@ msgstr "" msgid "settings screen." msgstr "" -#: admin/class-convertkit-admin-restrict-content.php:185 +#: admin/class-convertkit-admin-restrict-content.php:193 msgid "Add New Member Content" msgstr "" -#: admin/class-convertkit-admin-restrict-content.php:243 +#: admin/class-convertkit-admin-restrict-content.php:252 msgid "ConvertKit Member Content" msgstr "" #: admin/class-convertkit-admin-settings-restrict-content.php:32 #: admin/class-convertkit-admin-settings-restrict-content.php:33 -#: views/backend/post/meta-box.php:142 +#: views/backend/post/meta-box.php:139 #: views/backend/setup-wizard/convertkit-restrict-content-setup/content-1.php:11 msgid "Member Content" msgstr "" #: admin/class-convertkit-admin-settings-restrict-content.php:70 -#: admin/section/class-convertkit-admin-settings-broadcasts.php:176 -msgid "Enable" -msgstr "" - -#: admin/class-convertkit-admin-settings-restrict-content.php:77 -msgid "Enables the Member Content functionality, displaying configuration options on pages to require a subscription to a ConvertKit product" -msgstr "" - -#: admin/class-convertkit-admin-settings-restrict-content.php:83 msgid "Subscribe Text" msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:91 +#: admin/class-convertkit-admin-settings-restrict-content.php:78 msgid "The text to display above the subscribe button, explaining why the content is only available to subscribers." msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:98 +#: admin/class-convertkit-admin-settings-restrict-content.php:85 msgid "Subscribe Button Label" msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:106 +#: admin/class-convertkit-admin-settings-restrict-content.php:93 msgid "The text to display for the call to action button to subscribe to the ConvertKit product." msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:113 +#: admin/class-convertkit-admin-settings-restrict-content.php:100 msgid "Email Text" msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:121 +#: admin/class-convertkit-admin-settings-restrict-content.php:108 msgid "The text to display above the email form, instructing the subscriber to enter their email address to receive a login link to access the member's only content." msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:128 +#: admin/class-convertkit-admin-settings-restrict-content.php:115 msgid "Email Button Label" msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:136 +#: admin/class-convertkit-admin-settings-restrict-content.php:123 msgid "The text to display for the button to submit the subscriber's email address and receive a login link to access the member only content." msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:143 +#: admin/class-convertkit-admin-settings-restrict-content.php:130 msgid "Email Check Text" msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:151 +#: admin/class-convertkit-admin-settings-restrict-content.php:138 msgid "The text to display instructing the subscriber to check their email for the login link that was sent." msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:158 +#: admin/class-convertkit-admin-settings-restrict-content.php:145 msgid "No Access Text" msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:166 +#: admin/class-convertkit-admin-settings-restrict-content.php:153 msgid "The text to display for a subscriber who authenticates via the login link, but does not have access to the product." msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:181 +#: admin/class-convertkit-admin-settings-restrict-content.php:168 msgid "Defines the text and button labels to display when a Page, Post or Custom Post has its Member Content setting set to a Product, and the visitor has not authenticated/subscribed." msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:187 +#: admin/class-convertkit-admin-settings-restrict-content.php:174 msgid "If your web host has caching configured (or you are using a caching plugin), you must configure it to disable caching when the" msgstr "" -#: admin/class-convertkit-admin-settings-restrict-content.php:189 +#: admin/class-convertkit-admin-settings-restrict-content.php:176 msgid "cookie is present. Failing to do so will result in errors." msgstr "" @@ -180,7 +171,7 @@ msgstr "" msgid "Beta" msgstr "" -#: admin/class-convertkit-admin-setup-wizard.php:219 +#: admin/class-convertkit-admin-setup-wizard.php:208 msgid "Invalid nonce specified." msgstr "" @@ -214,6 +205,10 @@ msgstr "" msgid "Broadcasts will next import at approximately " msgstr "" +#: admin/section/class-convertkit-admin-settings-broadcasts.php:176 +msgid "Enable" +msgstr "" + #: admin/section/class-convertkit-admin-settings-broadcasts.php:183 msgid "Enables automatic publication of ConvertKit Broadcasts to WordPress Posts." msgstr "" @@ -455,38 +450,38 @@ msgstr "" msgid "WordPress 5.2 or higher is required for system information report." msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:87 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:96 #: admin/setup-wizard/class-convertkit-admin-setup-wizard-restrict-content.php:117 msgid "Setup" msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:90 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:99 msgid "Connect Account" msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:92 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:101 #: views/backend/setup-wizard/convertkit-setup/content-1.php:28 msgid "Connect" msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:96 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:105 msgid "Form Configuration" msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:98 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:107 msgid "Finish Setup" msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:102 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:111 #: admin/setup-wizard/class-convertkit-admin-setup-wizard-restrict-content.php:126 msgid "Done" msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:139 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:148 msgid "Setup Wizard" msgstr "" -#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:272 +#: admin/setup-wizard/class-convertkit-admin-setup-wizard-plugin.php:281 msgid "I've created a form in ConvertKit" msgstr "" @@ -768,7 +763,7 @@ msgid "The text to display for the button." msgstr "" #: includes/blocks/class-convertkit-block-form-trigger.php:325 -#: includes/class-convertkit-settings-restrict-content.php:118 +#: includes/class-convertkit-settings-restrict-content.php:104 msgid "Subscribe" msgstr "" @@ -898,7 +893,7 @@ msgstr "" msgid "Could not identify MIME type of imported image." msgstr "" -#: includes/class-convertkit-output-restrict-content.php:134 +#: includes/class-convertkit-output-restrict-content.php:130 msgid "Invalid nonce specified. Please try again." msgstr "" @@ -920,23 +915,23 @@ msgstr "" msgid "ConvertKit Product ID %s does not exist on ConvertKit." msgstr "" -#: includes/class-convertkit-settings-restrict-content.php:117 +#: includes/class-convertkit-settings-restrict-content.php:103 msgid "This content is only available to premium subscribers" msgstr "" -#: includes/class-convertkit-settings-restrict-content.php:119 +#: includes/class-convertkit-settings-restrict-content.php:105 msgid "Already a premium subscriber? Enter the email address used when purchasing below, to receive a login link to access." msgstr "" -#: includes/class-convertkit-settings-restrict-content.php:120 +#: includes/class-convertkit-settings-restrict-content.php:106 msgid "Send email" msgstr "" -#: includes/class-convertkit-settings-restrict-content.php:121 +#: includes/class-convertkit-settings-restrict-content.php:107 msgid "Check your email and click the link to login, or enter the code from the email below." msgstr "" -#: includes/class-convertkit-settings-restrict-content.php:122 +#: includes/class-convertkit-settings-restrict-content.php:108 msgid "Your account does not have access to this content. Please use the button below to purchase, or enter the email address you used to purchase the product." msgstr "" @@ -1103,7 +1098,7 @@ msgstr "" #: views/backend/post/bulk-edit.php:23 #: views/backend/post/bulk-edit.php:54 -#: views/backend/post/bulk-edit.php:87 +#: views/backend/post/bulk-edit.php:84 msgid "— No Change —" msgstr "" @@ -1132,27 +1127,34 @@ msgstr "" msgid "Refresh Tags from ConvertKit account" msgstr "" -#: views/backend/post/bulk-edit.php:78 -#: views/backend/post/quick-edit.php:62 +#: views/backend/post/bulk-edit.php:75 +#: views/backend/post/quick-edit.php:59 msgid "Member" msgstr "" -#: views/backend/post/bulk-edit.php:88 -#: views/backend/post/meta-box.php:147 -#: views/backend/post/quick-edit.php:64 +#: views/backend/post/bulk-edit.php:85 +#: views/backend/post/meta-box.php:144 +#: views/backend/post/quick-edit.php:61 msgid "Don't restrict content to members only." msgstr "" -#: views/backend/post/bulk-edit.php:94 -#: views/backend/post/meta-box.php:152 -#: views/backend/post/quick-edit.php:70 +#: views/backend/post/bulk-edit.php:91 +#: views/backend/post/meta-box.php:149 +#: views/backend/post/quick-edit.php:67 #: views/backend/post/wp-list-table-filter.php:17 +msgid "Tags" +msgstr "" + +#: views/backend/post/bulk-edit.php:106 +#: views/backend/post/meta-box.php:163 +#: views/backend/post/quick-edit.php:82 +#: views/backend/post/wp-list-table-filter.php:32 #: views/backend/setup-wizard/convertkit-restrict-content-setup/content-2.php:65 msgid "Products" msgstr "" -#: views/backend/post/bulk-edit.php:108 -#: views/backend/post/quick-edit.php:84 +#: views/backend/post/bulk-edit.php:120 +#: views/backend/post/quick-edit.php:96 msgid "Refresh Products from ConvertKit account" msgstr "" @@ -1211,12 +1213,16 @@ msgstr "" msgid "A visitor is deemed to be subscribed if they have clicked a link in an email to this site which includes their subscriber ID, or have entered their email address in a ConvertKit Form on this site." msgstr "" -#: views/backend/post/meta-box.php:165 +#: views/backend/post/meta-box.php:176 msgid "Refresh Products Pages from ConvertKit account" msgstr "" -#: views/backend/post/meta-box.php:169 -msgid "Select the ConvertKit product that the visitor must be subscribed to, permitting them access to view this members only content." +#: views/backend/post/meta-box.php:180 +msgid "Select the ConvertKit tag or product that the visitor must be subscribed to, permitting them access to view this members only content." +msgstr "" + +#: views/backend/post/meta-box.php:182 +msgid "If a tag is selected, a subscription form will be displayed. On submission, the email address will be subscribed to the selected tag, granting access to the members only content." msgstr "" #. translators: %1$s: Post Type Singular Name, %2$s: Link to Plugin Settings diff --git a/readme.txt b/readme.txt index 491052d04..e705c799d 100755 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: email marketing, email newsletter, newsletter, subscribers, membership Requires at least: 5.0 Tested up to: 6.3.1 Requires PHP: 5.6.20 -Stable tag: 2.3.1 +Stable tag: 2.3.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -138,6 +138,13 @@ Full Plugin documentation can be found [here](https://help.convertkit.com/en/art == Changelog == +### 2.3.2 2023-10-05 +* Added: Member Content: Option to restrict content by ConvertKit Tag, displaying a subscription form and subscribing the entered email address to the tag +* Added: Member Content: Posts: Display Filter dropdown in Posts table +* Fix: Member Content: Always enable Member Content options, ensuring imported Paid Broadcasts correctly show / hide content. +* Fix: Prevent blank submenu entries displaying under `Dashboard` menu when using a third party admin menu editor Plugin +* Updated: ConvertKit WordPress Libraries to 1.3.9 + ### 2.3.1 2023-09-14 * Fix: Settings: Member Content: Added missing`for` label attributes * Fix: Settings: Broadcasts: Added missing`for` label attributes diff --git a/wp-convertkit.php b/wp-convertkit.php index 345e0fa1b..ccaafeb67 100644 --- a/wp-convertkit.php +++ b/wp-convertkit.php @@ -9,7 +9,7 @@ * Plugin Name: ConvertKit * Plugin URI: https://convertkit.com/ * Description: Display ConvertKit email subscription forms, landing pages, products, broadcasts and more. - * Version: 2.3.1 + * Version: 2.3.2 * Author: ConvertKit * Author URI: https://convertkit.com/ * Text Domain: convertkit @@ -25,7 +25,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', '2.3.1' ); +define( 'CONVERTKIT_PLUGIN_VERSION', '2.3.2' ); // Load shared classes, if they have not been included by another ConvertKit Plugin. if ( ! class_exists( 'ConvertKit_API' ) ) {