From 53685fc21f7d59861c25609b105f9f094dc798ed Mon Sep 17 00:00:00 2001 From: AntonV1211 Date: Mon, 4 May 2026 12:59:07 +0700 Subject: [PATCH] Mod. Settings. Moving the AC option --- inc/cleantalk-settings.php | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/inc/cleantalk-settings.php b/inc/cleantalk-settings.php index 8e8d344ea..4905098ca 100644 --- a/inc/cleantalk-settings.php +++ b/inc/cleantalk-settings.php @@ -189,6 +189,23 @@ function apbct_settings__set_fields() ), 'long_description' => true, ), + 'sfw__anti_crawler' => array( + 'type' => 'checkbox', + 'title' => 'Anti-Crawler' . $additional_ac_title, // Do not to localize this phrase + 'class' => 'apbct_settings-field_wrapper', + 'parent' => 'sfw__enabled', + 'description' => + __( + 'Plugin shows SpamFireWall stop page for any bot, except allowed bots (Google, Yahoo and etc).', + 'cleantalk-spam-protect' + ) + . '
' + . __( + 'Anti-Crawler includes blocking bots by the User-Agent. Use Personal lists in the Dashboard to filter specific User-Agents.', + 'cleantalk-spam-protect' + ), + 'long_description' => true, + ), 'data__email_decoder__status' => array( 'type' => 'custom_html', 'title' => __('Encode contact data', 'cleantalk-spam-protect'), @@ -869,23 +886,6 @@ function apbct_settings__set_fields() 'title' => __('Custom logo on SpamFireWall blocking pages', 'cleantalk-spam-protect'), 'parent' => 'sfw__enabled', ), - 'sfw__anti_crawler' => array( - 'type' => 'checkbox', - 'title' => 'Anti-Crawler' . $additional_ac_title, // Do not to localize this phrase - 'class' => 'apbct_settings-field_wrapper', - 'parent' => 'sfw__enabled', - 'description' => - __( - 'Plugin shows SpamFireWall stop page for any bot, except allowed bots (Google, Yahoo and etc).', - 'cleantalk-spam-protect' - ) - . '
' - . __( - 'Anti-Crawler includes blocking bots by the User-Agent. Use Personal lists in the Dashboard to filter specific User-Agents.', - 'cleantalk-spam-protect' - ), - 'long_description' => true, - ), 'sfw__anti_flood' => array( 'type' => 'checkbox', 'title' => 'Anti-Flood', // Do not to localize this phrase