Spam protection, AntiSpam, FireWall by CleanTalk - Version 5.115.1

Version Description

February 16 2019 = * Fix: SpamFireWall's false positives.

Download this release

Release Info

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

Code changes from version 5.115 to 5.115.1

cleantalk.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Anti-Spam 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.
6
- Version: 5.115
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
3
  Plugin Name: Anti-Spam 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.
6
+ Version: 5.115.1
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
inc/cleantalk-updater.php CHANGED
@@ -154,4 +154,8 @@ function apbct_update_to_5_110_0(){
154
  unset($apbct->data['last_remote_call']);
155
  $apbct->saveData;
156
  $apbct->save('remote_calls');
 
 
 
 
157
  }
154
  unset($apbct->data['last_remote_call']);
155
  $apbct->saveData;
156
  $apbct->save('remote_calls');
157
+ }
158
+
159
+ function apbct_update_to_5_115_1(){
160
+ ct_sfw_update();
161
  }
lib/CleantalkSFW_Base.php CHANGED
@@ -171,12 +171,12 @@ class CleantalkSFW_Base
171
  $this->db->query("DELETE FROM ".$this->data_table.";", true);
172
 
173
  // Cast result to int
174
- foreach($result as &$value){
175
- $value[0] = preg_replace('/[^\d]*/', '', $value[0]);
176
- $value[1] = preg_replace('/[^\d]*/', '', $value[0]);
177
- $value[0] = empty($value[0]) ? 0 : $value[0];
178
- $value[1] = empty($value[1]) ? 0 : $value[1];
179
- } unset($value);
180
 
181
  $query = "INSERT INTO ".$this->data_table." VALUES ";
182
 
171
  $this->db->query("DELETE FROM ".$this->data_table.";", true);
172
 
173
  // Cast result to int
174
+ // foreach($result as &$value){
175
+ // $value[0] = preg_replace('/[^\d]*/', '', $value[0]);
176
+ // $value[1] = preg_replace('/[^\d]*/', '', $value[0]);
177
+ // $value[0] = empty($value[0]) ? 0 : $value[0];
178
+ // $value[1] = empty($value[1]) ? 0 : $value[1];
179
+ // } unset($value);
180
 
181
  $query = "INSERT INTO ".$this->data_table." VALUES ";
182
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: safronik
3
  Tags: spam, antispam, protection, comments, firewall
4
  Requires at least: 3.0
5
- Tested up to: 5.0
6
- Stable tag: 5.115
7
  License: GPLv2
8
 
9
  Spam protection, antispam, all-in-one, premium plugin. No spam comments & users, no spam contact form & WooCommerce anti-spam.
@@ -558,6 +558,9 @@ If your website has forms that send data to external sources, you can enable opt
558
  10. Website's options.
559
 
560
  == Changelog ==
 
 
 
561
  = 5.115 February 14 2019 =
562
  * Fix: Http_only flag for backend cookies.
563
  * Fix: Spam filtration improved.
@@ -1794,6 +1797,9 @@ If your website has forms that send data to external sources, you can enable opt
1794
  * First version
1795
 
1796
  == Upgrade Notice ==
 
 
 
1797
  = 5.115 February 14 2019 =
1798
  * Fix: Http_only flag for backend cookies.
1799
  * Fix: Spam filtration improved.
2
  Contributors: safronik
3
  Tags: spam, antispam, protection, comments, firewall
4
  Requires at least: 3.0
5
+ Tested up to: 5.1
6
+ Stable tag: 5.115.1
7
  License: GPLv2
8
 
9
  Spam protection, antispam, all-in-one, premium plugin. No spam comments & users, no spam contact form & WooCommerce anti-spam.
558
  10. Website's options.
559
 
560
  == Changelog ==
561
+ = 5.115.1 February 16 2019 =
562
+ * Fix: SpamFireWall's false positives.
563
+
564
  = 5.115 February 14 2019 =
565
  * Fix: Http_only flag for backend cookies.
566
  * Fix: Spam filtration improved.
1797
  * First version
1798
 
1799
  == Upgrade Notice ==
1800
+ = 5.115.1 February 16 2019 =
1801
+ * Fix: SpamFireWall's false positives.
1802
+
1803
  = 5.115 February 14 2019 =
1804
  * Fix: Http_only flag for backend cookies.
1805
  * Fix: Spam filtration improved.