Spam protection, AntiSpam, FireWall by CleanTalk - Version 5.168.1

Version Description

Dec 22 2021 =

Direct integrations protection fixed.

  • Fix: Prevent logging excluded requests on the direct integrations.
  • Fix: Integration. Comment type The7 integration fixed.
  • Fix. Log excluded. Skip logging PopUp Builder service action.
  • Fix. Log excluded. Skip logging Cleantalk Security service action.
Download this release

Release Info

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

Code changes from version 5.168 to 5.168.1

cleantalk.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Anti-Spam by CleanTalk
5
  Plugin URI: https://cleantalk.org
6
  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: 5.168
8
  Author: СleanTalk <welcome@cleantalk.org>
9
  Author URI: https://cleantalk.org
10
  Text Domain: cleantalk-spam-protect
4
  Plugin Name: Anti-Spam by CleanTalk
5
  Plugin URI: https://cleantalk.org
6
  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: 5.168.1
8
  Author: СleanTalk <welcome@cleantalk.org>
9
  Author URI: https://cleantalk.org
10
  Text Domain: cleantalk-spam-protect
inc/cleantalk-common.php CHANGED
@@ -180,7 +180,13 @@ function apbct_base_call($params = array(), $reg_flag = false)
180
  /**
181
  * Add exception_action sender email is empty
182
  */
183
- if ( empty($params['sender_email']) && ! isset($params['exception_action']) ) {
 
 
 
 
 
 
184
  $params['exception_action'] = 1;
185
  }
186
 
180
  /**
181
  * Add exception_action sender email is empty
182
  */
183
+ if (
184
+ empty($params['sender_email']) &&
185
+ ! isset($params['exception_action']) &&
186
+ // No need to log excluded requests on the direct integrations
187
+ ! empty($params['post_info']['comment_type']) &&
188
+ strpos($params['post_info']['comment_type'], 'contact_form_wordpress_') === false
189
+ ) {
190
  $params['exception_action'] = 1;
191
  }
192
 
inc/cleantalk-pluggable.php CHANGED
@@ -661,6 +661,18 @@ function apbct_is_skip_request($ajax = false)
661
  ) {
662
  return 'Uncanny Toolkit';
663
  }
 
 
 
 
 
 
 
 
 
 
 
 
664
  } else {
665
  /*****************************************/
666
  /* Here is non-ajax requests skipping */
661
  ) {
662
  return 'Uncanny Toolkit';
663
  }
664
+ if (
665
+ apbct_is_plugin_active('popup-builder/popup-builder.php') &&
666
+ Post::get('action') === 'sgpb_send_to_open_counter'
667
+ ) {
668
+ return 'Popup builder service actions';
669
+ }
670
+ if (
671
+ apbct_is_plugin_active('security-malware-firewall/security-malware-firewall.php') &&
672
+ Post::get('action') === 'spbc_get_authorized_users'
673
+ ) {
674
+ return 'SPBCT service actions';
675
+ }
676
  } else {
677
  /*****************************************/
678
  /* Here is non-ajax requests skipping */
inc/cleantalk-public-integrations.php CHANGED
@@ -2888,7 +2888,7 @@ function apbct_form__the7_contact_form()
2888
  global $cleantalk_executed;
2889
 
2890
  if ( check_ajax_referer('dt_contact_form', 'nonce', false) && ! empty($_POST) ) {
2891
- $post_info['comment_type'] = 'contact_the7_theme_contact_form';
2892
 
2893
  /**
2894
  * Filter for POST
2888
  global $cleantalk_executed;
2889
 
2890
  if ( check_ajax_referer('dt_contact_form', 'nonce', false) && ! empty($_POST) ) {
2891
+ $post_info['comment_type'] = 'contact_form_wordpress_the7_theme_contact_form';
2892
 
2893
  /**
2894
  * Filter for POST
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: spam, antispam, anti-spam, comments, firewall
4
  Requires at least: 3.0
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
- Stable tag: 5.168
8
  License: GPLv2
9
 
10
  Spam protection, anti-spam, firewall, premium plugin. No spam comments & users, no spam contact form & WooCommerce anti-spam.
@@ -595,6 +595,13 @@ If your website has forms that send data to external sources, you can enable opt
595
 
596
  == Changelog ==
597
 
 
 
 
 
 
 
 
598
  = 5.168 Dec 16 2021 =
599
  #### One integrations added, some skipped requests will be logged, cookies optimized and minor issues fixed.
600
  * New. Get key. A filter to changing an email to get the key implemented.
4
  Requires at least: 3.0
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
+ Stable tag: 5.168.1
8
  License: GPLv2
9
 
10
  Spam protection, anti-spam, firewall, premium plugin. No spam comments & users, no spam contact form & WooCommerce anti-spam.
595
 
596
  == Changelog ==
597
 
598
+ = 5.168.1 Dec 22 2021 =
599
+ #### Direct integrations protection fixed.
600
+ * Fix: Prevent logging excluded requests on the direct integrations.
601
+ * Fix: Integration. Comment type The7 integration fixed.
602
+ * Fix. Log excluded. Skip logging PopUp Builder service action.
603
+ * Fix. Log excluded. Skip logging Cleantalk Security service action.
604
+
605
  = 5.168 Dec 16 2021 =
606
  #### One integrations added, some skipped requests will be logged, cookies optimized and minor issues fixed.
607
  * New. Get key. A filter to changing an email to get the key implemented.