Version Description
Jun 10 2021 = * Fix: Cron. Cron calling in cleantalk-updater.php fixed.
Download this release
Release Info
Developer | glomberg |
Plugin | Spam protection, AntiSpam, FireWall by CleanTalk |
Version | 5.159.1 |
Comparing to | |
See all releases |
Code changes from version 5.159 to 5.159.1
- cleantalk.php +1 -1
- inc/cleantalk-updater.php +22 -17
- readme.txt +12 -8
cleantalk.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Anti-Spam by CleanTalk
|
4 |
Plugin URI: https://cleantalk.org
|
5 |
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.
|
6 |
-
Version: 5.159
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: https://cleantalk.org
|
9 |
Text Domain: cleantalk-spam-protect
|
3 |
Plugin Name: Anti-Spam by CleanTalk
|
4 |
Plugin URI: https://cleantalk.org
|
5 |
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.
|
6 |
+
Version: 5.159.1
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: https://cleantalk.org
|
9 |
Text Domain: cleantalk-spam-protect
|
inc/cleantalk-updater.php
CHANGED
@@ -97,15 +97,17 @@ function apbct_update_to_5_70_0(){
|
|
97 |
wp_clear_scheduled_hook('cleantalk_get_brief_data_hook');
|
98 |
|
99 |
// Adding Self cron system tasks
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
|
|
106 |
}
|
107 |
function apbct_update_to_5_74_0(){
|
108 |
-
Cron
|
|
|
109 |
}
|
110 |
|
111 |
function apbct_update_to_5_97_0(){
|
@@ -144,13 +146,14 @@ function apbct_update_to_5_109_0(){
|
|
144 |
$wpdb->query(sprintf($sfw_data_query, $wpdb->prefix . 'cleantalk_sfw')); // Table for SpamFireWall data
|
145 |
$wpdb->query(sprintf($sfw_log_query, $wpdb->prefix . 'cleantalk_sfw_logs')); // Table for SpamFireWall logs
|
146 |
// Cron tasks
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
|
|
154 |
}
|
155 |
switch_to_blog($initial_blog);
|
156 |
}
|
@@ -637,7 +640,8 @@ function apbct_update_to_5_146_4() {
|
|
637 |
|
638 |
}
|
639 |
function apbct_update_to_5_148_0() {
|
640 |
-
|
|
|
641 |
}
|
642 |
|
643 |
function apbct_update_to_5_149_2() {
|
@@ -902,8 +906,9 @@ function apbct_update_to_5_156_0(){
|
|
902 |
$apbct->remote_calls['debug'] = array( 'last_call' => 0, 'cooldown' => 0 );
|
903 |
$apbct->remote_calls['debug_sfw'] = array( 'last_call' => 0, 'cooldown' => 0 );
|
904 |
$apbct->save('remote_calls');
|
905 |
-
|
906 |
-
|
|
|
907 |
|
908 |
}
|
909 |
|
97 |
wp_clear_scheduled_hook('cleantalk_get_brief_data_hook');
|
98 |
|
99 |
// Adding Self cron system tasks
|
100 |
+
$cron = new Cron();
|
101 |
+
$cron->addTask('check_account_status', 'ct_account_status_check', 3600, time() + 1800); // New
|
102 |
+
$cron->addTask('delete_spam_comments', 'ct_delete_spam_comments', 3600, time() + 3500);
|
103 |
+
$cron->addTask('send_feedback', 'ct_send_feedback', 3600, time() + 3500);
|
104 |
+
$cron->addTask('sfw_update', 'apbct_sfw_update__init', 86400, time() + 43200);
|
105 |
+
$cron->addTask('send_sfw_logs', 'ct_sfw_send_logs', 3600, time() + 1800); // New
|
106 |
+
$cron->addTask('get_brief_data', 'cleantalk_get_brief_data', 86400, time() + 3500);
|
107 |
}
|
108 |
function apbct_update_to_5_74_0(){
|
109 |
+
$cron = new Cron();
|
110 |
+
$cron->removeTask('send_daily_request');
|
111 |
}
|
112 |
|
113 |
function apbct_update_to_5_97_0(){
|
146 |
$wpdb->query(sprintf($sfw_data_query, $wpdb->prefix . 'cleantalk_sfw')); // Table for SpamFireWall data
|
147 |
$wpdb->query(sprintf($sfw_log_query, $wpdb->prefix . 'cleantalk_sfw_logs')); // Table for SpamFireWall logs
|
148 |
// Cron tasks
|
149 |
+
$cron = new Cron();
|
150 |
+
$cron->addTask('check_account_status', 'ct_account_status_check', 3600, time() + 1800); // Checks account status
|
151 |
+
$cron->addTask('delete_spam_comments', 'ct_delete_spam_comments', 3600, time() + 3500); // Formerly ct_hourly_event_hook()
|
152 |
+
$cron->addTask('send_feedback', 'ct_send_feedback', 3600, time() + 3500); // Formerly ct_hourly_event_hook()
|
153 |
+
$cron->addTask('sfw_update', 'apbct_sfw_update__init', 86400, time() + 300); // SFW update
|
154 |
+
$cron->addTask('send_sfw_logs', 'ct_sfw_send_logs', 3600, time() + 1800); // SFW send logs
|
155 |
+
$cron->addTask('get_brief_data', 'cleantalk_get_brief_data', 86400, time() + 3500); // Get data for dashboard widget
|
156 |
+
$cron->addTask('send_connection_report','ct_mail_send_connection_report', 86400, time() + 3500); // Send connection report to welcome@cleantalk.org
|
157 |
}
|
158 |
switch_to_blog($initial_blog);
|
159 |
}
|
640 |
|
641 |
}
|
642 |
function apbct_update_to_5_148_0() {
|
643 |
+
$cron = new Cron();
|
644 |
+
$cron->updateTask('antiflood__clear_table', 'apbct_antiflood__clear_table', 86400);
|
645 |
}
|
646 |
|
647 |
function apbct_update_to_5_149_2() {
|
906 |
$apbct->remote_calls['debug'] = array( 'last_call' => 0, 'cooldown' => 0 );
|
907 |
$apbct->remote_calls['debug_sfw'] = array( 'last_call' => 0, 'cooldown' => 0 );
|
908 |
$apbct->save('remote_calls');
|
909 |
+
|
910 |
+
$cron = new Cron();
|
911 |
+
$cron->updateTask('sfw_update', 'apbct_sfw_update__init', 86400, time() + 42300 );
|
912 |
|
913 |
}
|
914 |
|
readme.txt
CHANGED
@@ -4,15 +4,13 @@ Tags: spam, antispam, anti-spam, comments, firewall
|
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 5.159
|
8 |
License: GPLv2
|
9 |
|
10 |
Spam protection, anti-spam, firewall, premium plugin. No spam comments & users, no spam contact form & WooCommerce anti-spam.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
**Supports: Contact Form 7, Contact Form by WPForms, Ninja Forms, Gravity Forms, MailChimp, Formidable forms, Forminator, WooCommerce, JetPack comments and contact form, BuddyPress, bbPress, S2Member, MailPoet, wpDiscuz, ConvertKit, ActiveCampaign, Events Manager, Avada Theme Form Builder, any WordPress registrations & contact forms and themes. Just set up and forget the spam!**
|
15 |
-
|
16 |
No CAPTCHA, no questions, no animal counting, no puzzles, no math and no spam bots. Universal AntiSpam plugin.
|
17 |
|
18 |
= AntiSpam features =
|
@@ -57,16 +55,16 @@ CleanTalk is a free anti spam plugin which work with the premium Cloud AntiSpam
|
|
57 |
Native spam protection for WordPress, JetPack comments and any other comment plugins. The plugin moves spam comments to SPAM folder or you can set the option to ban spam comments silently. You can also enable the option in the plugin settings to auto-delete comments from SPAM folder.
|
58 |
|
59 |
= Spam bots registrations filter =
|
60 |
-
|
61 |
|
62 |
= Spam filter for contact forms =
|
63 |
-
|
64 |
|
65 |
= WooCommerce spam filter =
|
66 |
Anti-spam by CleanTalk filters spam registrations and spam reviews for WooCommerce. The plugin is fully compatible with WooCommerce 2.1 and higher.
|
67 |
|
68 |
= Newsletters antispam filter =
|
69 |
-
|
70 |
|
71 |
= Spam filter for theme contact forms =
|
72 |
The plugin blocks spam emails via any theme (built-in ones included) contact forms. The plugin filters spam emails silently (without any error notices on WordPress frontend) in AJAX forms as well.
|
@@ -81,7 +79,10 @@ Spam protection for everything about bbPress: logins, registrations, forums, top
|
|
81 |
* Any submission to the site (checkbox 'Check all POST data')
|
82 |
|
83 |
= Compatible with WordPress cache plugins =
|
84 |
-
|
|
|
|
|
|
|
85 |
|
86 |
= Check existing comments for spam. Bulk spam comments removal. Spam comment Cleaner =
|
87 |
With the help of anti-spam by CleanTalk you can inspect through existing comments to find and quickly delete spam comments at once. To use this function, go to WP Console -> Comments -> Find spam comments.
|
@@ -575,11 +576,14 @@ If your website has forms that send data to external sources, you can enable opt
|
|
575 |
6. The Dashboard with a map of most spam active countries per your account.
|
576 |
7. The plugin deletes/removes the existing spam comments and users accounts.
|
577 |
8. CleanTalk's dashboard update link.
|
578 |
-
9. Auto
|
579 |
10. Website's options.
|
580 |
|
581 |
== Changelog ==
|
582 |
|
|
|
|
|
|
|
583 |
= 5.159 Jun 10 2021 =
|
584 |
* New. Admin Bar. Common admin bar implemented.
|
585 |
* New: email check before post.
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 5.159.1
|
8 |
License: GPLv2
|
9 |
|
10 |
Spam protection, anti-spam, firewall, premium plugin. No spam comments & users, no spam contact form & WooCommerce anti-spam.
|
11 |
|
12 |
== Description ==
|
13 |
|
|
|
|
|
14 |
No CAPTCHA, no questions, no animal counting, no puzzles, no math and no spam bots. Universal AntiSpam plugin.
|
15 |
|
16 |
= AntiSpam features =
|
55 |
Native spam protection for WordPress, JetPack comments and any other comment plugins. The plugin moves spam comments to SPAM folder or you can set the option to ban spam comments silently. You can also enable the option in the plugin settings to auto-delete comments from SPAM folder.
|
56 |
|
57 |
= Spam bots registrations filter =
|
58 |
+
Blocks spam registration in all forms, forums and boards.
|
59 |
|
60 |
= Spam filter for contact forms =
|
61 |
+
Blocks spam in any contact forms. We have made direct integrations with many popular forms, form builders and contact forms of various Themes.
|
62 |
|
63 |
= WooCommerce spam filter =
|
64 |
Anti-spam by CleanTalk filters spam registrations and spam reviews for WooCommerce. The plugin is fully compatible with WooCommerce 2.1 and higher.
|
65 |
|
66 |
= Newsletters antispam filter =
|
67 |
+
Blocks spam in any subscription forms. We have tested anti-spam protection and made direct integrations for many popular subscription forms.
|
68 |
|
69 |
= Spam filter for theme contact forms =
|
70 |
The plugin blocks spam emails via any theme (built-in ones included) contact forms. The plugin filters spam emails silently (without any error notices on WordPress frontend) in AJAX forms as well.
|
79 |
* Any submission to the site (checkbox 'Check all POST data')
|
80 |
|
81 |
= Compatible with WordPress cache plugins =
|
82 |
+
Cleantalk Anti-Spam has been tested with many caching plugins and we have made integrations for the most popular caching plugins.
|
83 |
+
|
84 |
+
If you have questions about spam protection support for a particular plugin or compatibility, you can ask a question on Support Forum.
|
85 |
+
https://wordpress.org/support/plugin/cleantalk-spam-protect/
|
86 |
|
87 |
= Check existing comments for spam. Bulk spam comments removal. Spam comment Cleaner =
|
88 |
With the help of anti-spam by CleanTalk you can inspect through existing comments to find and quickly delete spam comments at once. To use this function, go to WP Console -> Comments -> Find spam comments.
|
576 |
6. The Dashboard with a map of most spam active countries per your account.
|
577 |
7. The plugin deletes/removes the existing spam comments and users accounts.
|
578 |
8. CleanTalk's dashboard update link.
|
579 |
+
9. Auto update confirmation.
|
580 |
10. Website's options.
|
581 |
|
582 |
== Changelog ==
|
583 |
|
584 |
+
= 5.159.1 Jun 10 2021 =
|
585 |
+
* Fix: Cron. Cron calling in cleantalk-updater.php fixed.
|
586 |
+
|
587 |
= 5.159 Jun 10 2021 =
|
588 |
* New. Admin Bar. Common admin bar implemented.
|
589 |
* New: email check before post.
|