Spam protection, AntiSpam, FireWall by CleanTalk - Version 5.49.2

Version Description

October 5 2016 = * Second Fix for database error. Stable version.

Download this release

Release Info

Developer shagimuratov
Plugin Icon 128x128 Spam protection, AntiSpam, FireWall by CleanTalk
Version 5.49.2
Comparing to
See all releases

Code changes from version 5.49.1 to 5.49.2

Files changed (3) hide show
  1. cleantalk.php +26 -3
  2. inc/cleantalk-public.php +0 -8
  3. readme.txt +18 -8
cleantalk.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Spam Protection by CleanTalk
4
  Plugin URI: http://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. Formerly Anti-Spam by CleanTalk.
6
- Version: 5.49.1
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
- $cleantalk_plugin_version='5.49.1';
11
- $ct_agent_version = 'wordpress-5491';
12
  $cleantalk_executed=false;
13
  $ct_sfw_updated = false;
14
 
@@ -39,6 +39,29 @@ if(!defined('CLEANTALK_PLUGIN_DIR')){
39
  require_once(CLEANTALK_PLUGIN_DIR . 'inc/cleantalk-widget.php');
40
  $ct_options=ct_get_options();
41
  $ct_data=ct_get_data();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  if(@stripos($_SERVER['REQUEST_URI'],'admin-ajax.php')!==false && sizeof($_POST)>0 && isset($_GET['action']) && $_GET['action']=='ninja_forms_ajax_submit')
43
  {
44
  $_POST['action']='ninja_forms_ajax_submit';
3
  Plugin Name: Spam Protection by CleanTalk
4
  Plugin URI: http://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. Formerly Anti-Spam by CleanTalk.
6
+ Version: 5.49.2
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
+ $cleantalk_plugin_version='5.49.2';
11
+ $ct_agent_version = 'wordpress-5492';
12
  $cleantalk_executed=false;
13
  $ct_sfw_updated = false;
14
 
39
  require_once(CLEANTALK_PLUGIN_DIR . 'inc/cleantalk-widget.php');
40
  $ct_options=ct_get_options();
41
  $ct_data=ct_get_data();
42
+
43
+ if(!isset($ct_data['db_refreshed'])){
44
+
45
+ global $wpdb;
46
+
47
+ $wpdb->query("CREATE TABLE IF NOT EXISTS `".$wpdb->base_prefix."cleantalk_sfw` (
48
+ `network` int(11) unsigned NOT NULL,
49
+ `mask` int(11) unsigned NOT NULL,
50
+ INDEX ( `network` , `mask` )
51
+ ) ENGINE = MYISAM ;");
52
+
53
+ $wpdb->query("CREATE TABLE IF NOT EXISTS `".$wpdb->base_prefix."cleantalk_sfw_logs` (
54
+ `ip` VARCHAR(15) NOT NULL ,
55
+ `all` INT NOT NULL ,
56
+ `blocked` INT NOT NULL ,
57
+ `timestamp` INT NOT NULL ,
58
+ PRIMARY KEY (`ip`))
59
+ ENGINE = MYISAM;");
60
+
61
+ $ct_data['db_refreshed'] = 1;
62
+ update_option('cleantalk_data', $ct_data);
63
+ }
64
+
65
  if(@stripos($_SERVER['REQUEST_URI'],'admin-ajax.php')!==false && sizeof($_POST)>0 && isset($_GET['action']) && $_GET['action']=='ninja_forms_ajax_submit')
66
  {
67
  $_POST['action']='ninja_forms_ajax_submit';
inc/cleantalk-public.php CHANGED
@@ -9,14 +9,6 @@ function ct_init() {
9
 
10
  $ct_options = ct_get_options();
11
  $ct_data=ct_get_data();
12
-
13
- if(!isset($ct_data['db_refreshed'])){
14
-
15
- ct_db_refresh();
16
-
17
- $ct_data['db_refreshed'] = 1;
18
- update_option('cleantalk_data', $ct_data);
19
- }
20
 
21
  //fix for EPM registration form
22
  if(isset($_POST) && isset($_POST['reg_email']) && shortcode_exists( 'epm_registration_form' ))
9
 
10
  $ct_options = ct_get_options();
11
  $ct_data=ct_get_data();
 
 
 
 
 
 
 
 
12
 
13
  //fix for EPM registration form
14
  if(isset($_POST) && isset($_POST['reg_email']) && shortcode_exists( 'epm_registration_form' ))
readme.txt CHANGED
@@ -1,15 +1,14 @@
1
  === Spam Protection by CleanTalk (no Captcha Anti-Spam) ===
2
  Contributors: znaeff, shagimuratov, serge00
3
- Tags: spam, anti-spam, antispam, anti spam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spammers, spammy, woocommerce, wordpress spam, subscription, gravity spam, jetpack, bots, contact form 7, contact form, registrations, ninja, Fast Secure Contact, Gravity forms, formidable, mailchimp, s2member, protection, protect, email, akismet, plugin, contact, recaptcha, google captcha, google recaptcha, math, security, login, blacklist, prevent spam comments, wordpress, User Frontend, bulk delete, bulk remove, widget, review, firewall, cleantalk, mailpoet, profile builder, comment spam, registration spam, spam comments, comment moderation, spam bots, block spam, signup spam, spam blocker, spam filter, user registration spam,pingback,trackback, anti-spam plugin, varnish, amp, spam free, userpro,honeypot,spamshield
4
  Requires at least: 3.0
5
  Tested up to: 4.6.1
6
- Stable tag: 5.49.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Spam protection, anti-spam, all-in-one, premium plug-in. No comments spam & users spam, no contact form & WooCommerce spam. Forget spam.
11
 
12
-
13
  == Description ==
14
  No CAPTCHA, no questions, no animal counting, no puzzles, no math and no spam bots. Universal Anti-Spam plugin. Formerly "Anti-Spam by CleanTalk".
15
 
@@ -20,13 +19,11 @@ No CAPTCHA, no questions, no animal counting, no puzzles, no math and no spam bo
20
  1. Stops spam orders.
21
  1. Stops spam bookings.
22
  1. Stops spam subscriptions.
 
23
  1. Stops spam in widgets.
24
  1. Stops spam in WooCommerce.
25
  1. Checks the existing comments for spam.
26
 
27
- = Free trial then $8 per year =
28
- CleanTalk is a free plugin which work with the premium Cloud Anti-Spam service cleantalk.org. This plugin as a service https://en.wikipedia.org/wiki/Software_as_a_service.
29
-
30
  = Public reviews =
31
  >With CleanTalk installed you can rest assured that you will no longer have to fuss with annoying spam. You can now focus your time on developing and improving your web site, your blog content, and you business without being distracted by these useless comments.
32
  > *Dr. Erica Goodstone. <a href="https://www.poweraffiliateclub.com/clear-your-blog-of-spam-comments/" target="_blank">www.poweraffiliateclub.com</a>*
@@ -191,12 +188,15 @@ CleanTalk has an advanced option “SpamFireWall”. This option allows you to b
191
 
192
  “CleanTalk team has been developing a cloud spam protection system for five years and has created a truly reliable anti-spam service designed for you to guarantee your safety”.
193
 
 
 
 
194
  = We recommend =
195
- Audience engagement plugin <a href="http://wordpress.org/plugins/feedweb/">Feedweb</a>
 
196
 
197
  > Max power, all-in-one, premium anti-spam WordPress plugin. No comments & registrations spam, no contact spam, protects any forms. Just install and forget spam.
198
 
199
-
200
  == Installation ==
201
  = Spam protection plugin setup =
202
  1. Download, install and activate Anti-spam by CleanTalk.
@@ -481,8 +481,12 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
481
  1. The Dashboard with a map of most spam active countries per your account.
482
 
483
  == Changelog ==
 
 
 
484
  = 5.49.1 October 5 2016 =
485
  * Fixed database error.
 
486
  = 5.49 October 3 2016 =
487
  * SpamFireWall feature: Class upgraded.
488
  * New feature: Delete links from approved comments.
@@ -496,6 +500,7 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
496
  * JetPack: contact form fix.
497
  * Fixed and created the defaults for all CleanTalk options.
498
  * Fixed spelling mistakes.
 
499
  = 5.48 September 15 2016 =
500
  * buddyPress: Added private messages filtering. Doesn't check user if he has 3 or more messages in the "sentbox" and "inbox" folders.
501
  * buddyPress: Added option in settings for private messages check.
@@ -1159,8 +1164,12 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
1159
 
1160
  == Upgrade Notice ==
1161
  == Changelog ==
 
 
 
1162
  = 5.49.1 October 5 2016 =
1163
  * Fixed database error.
 
1164
  = 5.49 October 3 2016 =
1165
  * SpamFireWall feature: Class upgraded.
1166
  * New feature: Delete links from approved comments.
@@ -1174,6 +1183,7 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
1174
  * JetPack: contact form fix.
1175
  * Fixed and created the defaults for all CleanTalk options.
1176
  * Fixed spelling mistakes.
 
1177
  = 5.48 September 15 2016 =
1178
  * buddyPress: Added private messages filtering. Doesn't check user if he has 3 or more messages in the "sentbox" and "inbox" folders.
1179
  * buddyPress: Added option in settings for private messages check.
1
  === Spam Protection by CleanTalk (no Captcha Anti-Spam) ===
2
  Contributors: znaeff, shagimuratov, serge00
3
+ Tags: spam, anti-spam, antispam, anti spam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spammers, spammy, woocommerce, wordpress spam, subscription, gravity spam, jetpack, bots, contact form 7, contact form, registrations, ninja, Fast Secure Contact, Gravity forms, formidable, mailchimp, s2member, protection, protect, email, plugin, contact, recaptcha, google captcha, google recaptcha, blacklist, prevent spam comments, wordpress, User Frontend, bulk delete, bulk remove, widget, review, firewall, cleantalk, mailpoet, profile builder, comment spam, registration spam, spam comments, comment moderation, spam bots, block spam, signup spam, spam blocker, spam filter, user registration spam,pingback,trackback, anti-spam plugin, varnish, amp, spam free, userpro,honeypot,puzzle,quiz,survey,poll
4
  Requires at least: 3.0
5
  Tested up to: 4.6.1
6
+ Stable tag: 5.49.2
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Spam protection, anti-spam, all-in-one, premium plug-in. No comments spam & users spam, no contact form & WooCommerce spam. Forget spam.
11
 
 
12
  == Description ==
13
  No CAPTCHA, no questions, no animal counting, no puzzles, no math and no spam bots. Universal Anti-Spam plugin. Formerly "Anti-Spam by CleanTalk".
14
 
19
  1. Stops spam orders.
20
  1. Stops spam bookings.
21
  1. Stops spam subscriptions.
22
+ 1. Stops spam surveys, polls.
23
  1. Stops spam in widgets.
24
  1. Stops spam in WooCommerce.
25
  1. Checks the existing comments for spam.
26
 
 
 
 
27
  = Public reviews =
28
  >With CleanTalk installed you can rest assured that you will no longer have to fuss with annoying spam. You can now focus your time on developing and improving your web site, your blog content, and you business without being distracted by these useless comments.
29
  > *Dr. Erica Goodstone. <a href="https://www.poweraffiliateclub.com/clear-your-blog-of-spam-comments/" target="_blank">www.poweraffiliateclub.com</a>*
188
 
189
  “CleanTalk team has been developing a cloud spam protection system for five years and has created a truly reliable anti-spam service designed for you to guarantee your safety”.
190
 
191
+ = Free trial then $8 per year =
192
+ CleanTalk is a free plugin which work with the premium Cloud Anti-Spam service cleantalk.org. This plugin as a service https://en.wikipedia.org/wiki/Software_as_a_service.
193
+
194
  = We recommend =
195
+ * Audience engagement plugin <a href="http://wordpress.org/plugins/feedweb/">Feedweb</a>
196
+ * <a href="https://wordpress.org/plugins/security-malware-firewall/">Security & Firewall plugin by CleanTalk</a>
197
 
198
  > Max power, all-in-one, premium anti-spam WordPress plugin. No comments & registrations spam, no contact spam, protects any forms. Just install and forget spam.
199
 
 
200
  == Installation ==
201
  = Spam protection plugin setup =
202
  1. Download, install and activate Anti-spam by CleanTalk.
481
  1. The Dashboard with a map of most spam active countries per your account.
482
 
483
  == Changelog ==
484
+ = 5.49.2 October 5 2016 =
485
+ * Second Fix for database error. Stable version.
486
+
487
  = 5.49.1 October 5 2016 =
488
  * Fixed database error.
489
+
490
  = 5.49 October 3 2016 =
491
  * SpamFireWall feature: Class upgraded.
492
  * New feature: Delete links from approved comments.
500
  * JetPack: contact form fix.
501
  * Fixed and created the defaults for all CleanTalk options.
502
  * Fixed spelling mistakes.
503
+
504
  = 5.48 September 15 2016 =
505
  * buddyPress: Added private messages filtering. Doesn't check user if he has 3 or more messages in the "sentbox" and "inbox" folders.
506
  * buddyPress: Added option in settings for private messages check.
1164
 
1165
  == Upgrade Notice ==
1166
  == Changelog ==
1167
+ = 5.49.2 October 5 2016 =
1168
+ * Second Fix for database error. Stable version.
1169
+
1170
  = 5.49.1 October 5 2016 =
1171
  * Fixed database error.
1172
+
1173
  = 5.49 October 3 2016 =
1174
  * SpamFireWall feature: Class upgraded.
1175
  * New feature: Delete links from approved comments.
1183
  * JetPack: contact form fix.
1184
  * Fixed and created the defaults for all CleanTalk options.
1185
  * Fixed spelling mistakes.
1186
+
1187
  = 5.48 September 15 2016 =
1188
  * buddyPress: Added private messages filtering. Doesn't check user if he has 3 or more messages in the "sentbox" and "inbox" folders.
1189
  * buddyPress: Added option in settings for private messages check.