From 19f8dc70a7cd893d218a324367668a94b38a9e23 Mon Sep 17 00:00:00 2001 From: datorik Date: Tue, 14 Apr 2026 11:52:49 +0300 Subject: [PATCH 1/5] https://app.doboard.com/1/task/33372 --- inc/cleantalk-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/cleantalk-settings.php b/inc/cleantalk-settings.php index c6e94c6c1..f1420bf59 100644 --- a/inc/cleantalk-settings.php +++ b/inc/cleantalk-settings.php @@ -651,7 +651,7 @@ function apbct_settings__set_fields() ), 'data__email_check_exist_post' => array( 'title' => __('Show email existence alert when filling in the field', 'cleantalk-spam-protect'), - 'description' => __('Checks the email address and shows the result as an icon in the email field before submitting the form. Works for WooCommerce checkout form, FluentForms, Contact Form 7, Gravity Forms, Ninja Forms, WPForms, standard WordPress comment form and registration form.', 'cleantalk-spam-protect'), + 'description' => __('Checks the email address and shows the result as an icon in the email field before submitting the form. Works for WooCommerce checkout form, FluentForms, Contact Form 7, Gravity Forms, Ninja Forms, WPForms, standard WordPress comment form and registration form. ', 'cleantalk-spam-protect') . '' . __('Read more', 'cleantalk-spam-protect') . '', ), ), ), From c2fd204c613bf7134d1e64c1e98548812ddf08b7 Mon Sep 17 00:00:00 2001 From: Aleksandr Banins Date: Thu, 16 Apr 2026 16:12:27 +0300 Subject: [PATCH 2/5] Update inc/cleantalk-settings.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- inc/cleantalk-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/cleantalk-settings.php b/inc/cleantalk-settings.php index f1420bf59..fd7387d89 100644 --- a/inc/cleantalk-settings.php +++ b/inc/cleantalk-settings.php @@ -651,7 +651,7 @@ function apbct_settings__set_fields() ), 'data__email_check_exist_post' => array( 'title' => __('Show email existence alert when filling in the field', 'cleantalk-spam-protect'), - 'description' => __('Checks the email address and shows the result as an icon in the email field before submitting the form. Works for WooCommerce checkout form, FluentForms, Contact Form 7, Gravity Forms, Ninja Forms, WPForms, standard WordPress comment form and registration form. ', 'cleantalk-spam-protect') . '' . __('Read more', 'cleantalk-spam-protect') . '', + 'description' => __('Checks the email address and shows the result as an icon in the email field before submitting the form. Works for WooCommerce checkout form, FluentForms, Contact Form 7, Gravity Forms, Ninja Forms, WPForms, standard WordPress comment form and registration form.', 'cleantalk-spam-protect') . ' ' . '' . __('Read more', 'cleantalk-spam-protect') . '', ), ), ), From 3ac2fdc99e2093d9d62a69257b05e294772b93fa Mon Sep 17 00:00:00 2001 From: datorik Date: Thu, 16 Apr 2026 17:06:00 +0300 Subject: [PATCH 3/5] Fix. Code Review --- inc/cleantalk-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/cleantalk-settings.php b/inc/cleantalk-settings.php index fd7387d89..8e8d344ea 100644 --- a/inc/cleantalk-settings.php +++ b/inc/cleantalk-settings.php @@ -651,7 +651,7 @@ function apbct_settings__set_fields() ), 'data__email_check_exist_post' => array( 'title' => __('Show email existence alert when filling in the field', 'cleantalk-spam-protect'), - 'description' => __('Checks the email address and shows the result as an icon in the email field before submitting the form. Works for WooCommerce checkout form, FluentForms, Contact Form 7, Gravity Forms, Ninja Forms, WPForms, standard WordPress comment form and registration form.', 'cleantalk-spam-protect') . ' ' . '' . __('Read more', 'cleantalk-spam-protect') . '', + 'description' => __('Checks the email address and shows the result as an icon in the email field before submitting the form. Works for WooCommerce checkout form, FluentForms, Contact Form 7, Gravity Forms, Ninja Forms, WPForms, standard WordPress comment form and registration form.', 'cleantalk-spam-protect') . ' ' . '' . __('Read more', 'cleantalk-spam-protect') . '', ), ), ), From 525b8e15ff752ce64574a4c347619fc4957ca8af Mon Sep 17 00:00:00 2001 From: datorik Date: Thu, 16 Apr 2026 17:38:41 +0300 Subject: [PATCH 4/5] Fix. UnitTests description has link to help --- tests/Inc/TestCleantalkSettings.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/Inc/TestCleantalkSettings.php b/tests/Inc/TestCleantalkSettings.php index 9e8bbc108..95fa2429d 100644 --- a/tests/Inc/TestCleantalkSettings.php +++ b/tests/Inc/TestCleantalkSettings.php @@ -26,4 +26,18 @@ public function testApbctSettingsSetFieldsBotDetector() $this->assertArrayHasKey('display', $data_processing_options['bot_detector_state']); $this->assertArrayNotHasKey('parent', $data_processing_options['exclusions__bot_detector']); } + + public function testApbctSettingsSetFieldsEmailCheckReadMre() + { + $fields = apbct_settings__set_fields(); + + $this->assertArrayHasKey('data_processing', $fields); + + $data_processing_options = $fields['data_processing']['fields']; + + $this->assertArrayHasKey('data__email_check_exist_post', $data_processing_options); + $this->assertArrayHasKey('description', $data_processing_options['data__email_check_exist_post']); + $this->assertStringContainsString('https://cleantalk.org/help/show-email-existence-alert', $data_processing_options['data__email_check_exist_post']['description']); + $this->assertStringContainsString('Read more', $data_processing_options['data__email_check_exist_post']['description']); + } } \ No newline at end of file From e41f4d8824174227cbbc57ff22159350203d6900 Mon Sep 17 00:00:00 2001 From: datorik Date: Fri, 17 Apr 2026 09:42:24 +0300 Subject: [PATCH 5/5] Fix. UnitTests description has link to help --- tests/Inc/TestCleantalkSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Inc/TestCleantalkSettings.php b/tests/Inc/TestCleantalkSettings.php index 95fa2429d..c0e04e939 100644 --- a/tests/Inc/TestCleantalkSettings.php +++ b/tests/Inc/TestCleantalkSettings.php @@ -27,7 +27,7 @@ public function testApbctSettingsSetFieldsBotDetector() $this->assertArrayNotHasKey('parent', $data_processing_options['exclusions__bot_detector']); } - public function testApbctSettingsSetFieldsEmailCheckReadMre() + public function testApbctSettingsSetFieldsEmailCheckReadMore() { $fields = apbct_settings__set_fields();