Spam protection, AntiSpam, FireWall by CleanTalk - Version 5.83.1

Version Description

December 19 2017 = * Fix: CDN IP detection.

Download this release

Release Info

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

Code changes from version 5.83 to 5.83.1

Files changed (3) hide show
  1. cleantalk.php +5 -5
  2. lib/CleantalkHelper.php +3 -3
  3. readme.txt +7 -1
cleantalk.php CHANGED
@@ -3,17 +3,17 @@
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. Formerly Anti-Spam by CleanTalk.
6
- Version: 5.83
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
 
11
- $cleantalk_plugin_version='5.83';
12
- $ct_agent_version = 'wordpress-583';
13
  $cleantalk_executed = false;
14
 
15
- define('APBCT_VERSION', '5.83');
16
- define('APBCT_AGENT', 'wordpress-583');
17
 
18
  define('CLEANTALK_REMOTE_CALL_SLEEP', 10); // Minimum time between remote call
19
 
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. Formerly Anti-Spam by CleanTalk.
6
+ Version: 5.83.1
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
 
11
+ $cleantalk_plugin_version='5.83.1';
12
+ $ct_agent_version = 'wordpress-5831';
13
  $cleantalk_executed = false;
14
 
15
+ define('APBCT_VERSION', '5.83.1');
16
+ define('APBCT_AGENT', 'wordpress-5831');
17
 
18
  define('CLEANTALK_REMOTE_CALL_SLEEP', 10); // Minimum time between remote call
19
 
lib/CleantalkHelper.php CHANGED
@@ -56,7 +56,7 @@ class CleantalkHelper
56
 
57
  // Cloud Flare
58
  if(isset($headers['Cf_Connecting_Ip'])){
59
- foreach(self::cdn_cf['cloud_flare'] as $cidr){
60
  if($this->ip_mask_match($ips['remote_addr'], $cidr)){
61
  $ips['cloud_flare'] = $headers['Cf_Connecting_Ip'];
62
  break;
@@ -86,7 +86,7 @@ class CleantalkHelper
86
 
87
  // Cloud Flare
88
  if(isset($headers['Cf_Connecting_Ip'])){
89
- foreach(self::cdn_cf['cloud_flare'] as $cidr){
90
  if($this->ip_mask_match($ips['remote_addr'], $cidr)){
91
  $ip = $headers['Cf_Connecting_Ip'];
92
  break;
@@ -133,7 +133,7 @@ class CleantalkHelper
133
  {
134
  $headers = self::get_request_headers();
135
  if(isset($headers['Cf_Connecting_Ip'])){
136
- foreach(self::cdn_cf['cloud_flare'] as $cidr){
137
  if($this->ip_mask_match($_SERVER['remote_addr'], $cidr)){
138
  $ip = $headers['Cf_Connecting_Ip'];
139
  break;
56
 
57
  // Cloud Flare
58
  if(isset($headers['Cf_Connecting_Ip'])){
59
+ foreach(self::cdn_pool['cloud_flare'] as $cidr){
60
  if($this->ip_mask_match($ips['remote_addr'], $cidr)){
61
  $ips['cloud_flare'] = $headers['Cf_Connecting_Ip'];
62
  break;
86
 
87
  // Cloud Flare
88
  if(isset($headers['Cf_Connecting_Ip'])){
89
+ foreach(self::cdn_pool['cloud_flare'] as $cidr){
90
  if($this->ip_mask_match($ips['remote_addr'], $cidr)){
91
  $ip = $headers['Cf_Connecting_Ip'];
92
  break;
133
  {
134
  $headers = self::get_request_headers();
135
  if(isset($headers['Cf_Connecting_Ip'])){
136
+ foreach(self::cdn_pool['cloud_flare'] as $cidr){
137
  if($this->ip_mask_match($_SERVER['remote_addr'], $cidr)){
138
  $ip = $headers['Cf_Connecting_Ip'];
139
  break;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: znaeff, shagimuratov, sartemd174
3
  Tags: spam, antispam, protection, comments, firewall
4
  Requires at least: 3.0
5
  Tested up to: 4.9.1
6
- Stable tag: 5.83
7
  License: GPLv2
8
 
9
  Spam protection, antispam, all-in-one, premium plugin. No spam comments & users, no spam contact form & WooCommerce spam. Forget spam.
@@ -504,6 +504,9 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
504
  1. The plugin deletes/removes the existing spam comments and users accounts.
505
 
506
  == Changelog ==
 
 
 
507
  = 5.83 December 19 2017 =
508
  * Improving: Stability and compatibility.
509
  * Improving: Spam protection.
@@ -1478,6 +1481,9 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
1478
  * First version
1479
 
1480
  == Upgrade Notice ==
 
 
 
1481
  = 5.83 December 19 2017 =
1482
  * Improving: Stability and compatibility.
1483
  * Improving: Spam protection.
3
  Tags: spam, antispam, protection, comments, firewall
4
  Requires at least: 3.0
5
  Tested up to: 4.9.1
6
+ Stable tag: 5.83.1
7
  License: GPLv2
8
 
9
  Spam protection, antispam, all-in-one, premium plugin. No spam comments & users, no spam contact form & WooCommerce spam. Forget spam.
504
  1. The plugin deletes/removes the existing spam comments and users accounts.
505
 
506
  == Changelog ==
507
+ = 5.83.1 December 19 2017 =
508
+ * Fix: CDN IP detection.
509
+
510
  = 5.83 December 19 2017 =
511
  * Improving: Stability and compatibility.
512
  * Improving: Spam protection.
1481
  * First version
1482
 
1483
  == Upgrade Notice ==
1484
+ = 5.83.1 December 19 2017 =
1485
+ * Fix: CDN IP detection.
1486
+
1487
  = 5.83 December 19 2017 =
1488
  * Improving: Stability and compatibility.
1489
  * Improving: Spam protection.