Skip to content

Commit 9c5a61f

Browse files
authored
Merge pull request #795 from CleanTalk/beta
Beta
2 parents 4d98884 + d5ebfc0 commit 9c5a61f

34 files changed

Lines changed: 638 additions & 69 deletions

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
uses: shivammathur/setup-php@v2
3434
with:
3535
php-version: ${{ env.PHP_VERSION }}
36+
coverage: xdebug
3637

3738
- name: Run MySQL server
3839
run: sudo systemctl start mysql

cleantalk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: Anti-Spam by CleanTalk
55
Plugin URI: https://cleantalk.org
66
Description: Max power, all-in-one, no Captcha, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
7-
Version: 6.78
7+
Version: 6.79
88
Author: CleanTalk - Anti-Spam Protection <welcome@cleantalk.org>
99
Author URI: https://cleantalk.org
1010
Text Domain: cleantalk-spam-protect

inc/cleantalk-settings.php

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,28 @@ function apbct_settings__set_fields()
189189
),
190190
'long_description' => true,
191191
),
192+
'sfw__anti_crawler' => array(
193+
'type' => 'checkbox',
194+
'title' => 'Anti-Crawler' . $additional_ac_title, // Do not to localize this phrase
195+
'class' => 'apbct_settings-field_wrapper',
196+
'parent' => 'sfw__enabled',
197+
'description' =>
198+
__(
199+
'Plugin shows SpamFireWall stop page for any bot, except allowed bots (Google, Yahoo and etc).',
200+
'cleantalk-spam-protect'
201+
)
202+
. '<br>'
203+
. __(
204+
'Anti-Crawler includes blocking bots by the User-Agent. Use Personal lists in the Dashboard to filter specific User-Agents.',
205+
'cleantalk-spam-protect'
206+
)
207+
. '<br><b>'
208+
. __(
209+
'This option works only when SpamFireWall is enabled.',
210+
'cleantalk-spam-protect'
211+
) . '</b>',
212+
'long_description' => true,
213+
),
192214
'data__email_decoder__status' => array(
193215
'type' => 'custom_html',
194216
'title' => __('Encode contact data', 'cleantalk-spam-protect'),
@@ -869,23 +891,6 @@ function apbct_settings__set_fields()
869891
'title' => __('Custom logo on SpamFireWall blocking pages', 'cleantalk-spam-protect'),
870892
'parent' => 'sfw__enabled',
871893
),
872-
'sfw__anti_crawler' => array(
873-
'type' => 'checkbox',
874-
'title' => 'Anti-Crawler' . $additional_ac_title, // Do not to localize this phrase
875-
'class' => 'apbct_settings-field_wrapper',
876-
'parent' => 'sfw__enabled',
877-
'description' =>
878-
__(
879-
'Plugin shows SpamFireWall stop page for any bot, except allowed bots (Google, Yahoo and etc).',
880-
'cleantalk-spam-protect'
881-
)
882-
. '<br>'
883-
. __(
884-
'Anti-Crawler includes blocking bots by the User-Agent. Use Personal lists in the Dashboard to filter specific User-Agents.',
885-
'cleantalk-spam-protect'
886-
),
887-
'long_description' => true,
888-
),
889894
'sfw__anti_flood' => array(
890895
'type' => 'checkbox',
891896
'title' => 'Anti-Flood', // Do not to localize this phrase

js/apbct-public-bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_ext-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_ext-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_int-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)