Spam protection, AntiSpam, FireWall by CleanTalk - Version 5.34.1

Version Description

2015-12-17 = * Fixed trackback antispam protection: improved checking mechanism * Fixed problem with blocking MailPoet: added exclusions in spam checking algorithm

Download this release

Release Info

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

Code changes from version 5.34 to 5.34.1

cleantalk.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Anti-Spam by CleanTalk
4
  Plugin URI: http://cleantalk.org
5
  Description: Max power, all-in-one, captcha less, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
6
- Version: 5.34
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
- $cleantalk_plugin_version='5.34';
11
  $cleantalk_executed=false;
12
 
13
  if(defined('CLEANTALK_AJAX_USE_BUFFER'))
@@ -194,7 +194,7 @@ if(!defined('CLEANTALK_PLUGIN_DIR')){
194
  $cleantalk_hooked_actions=Array();
195
  require_once(CLEANTALK_PLUGIN_DIR . 'inc/cleantalk-public.php');
196
  require_once(CLEANTALK_PLUGIN_DIR . 'inc/cleantalk-ajax.php');
197
- if(isset($_POST['action'])&&!in_array($_POST['action'],$cleantalk_hooked_actions))
198
  {
199
  ct_ajax_hook();
200
  }
3
  Plugin Name: Anti-Spam by CleanTalk
4
  Plugin URI: http://cleantalk.org
5
  Description: Max power, all-in-one, captcha less, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
6
+ Version: 5.34.1
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
+ $cleantalk_plugin_version='5.34.1';
11
  $cleantalk_executed=false;
12
 
13
  if(defined('CLEANTALK_AJAX_USE_BUFFER'))
194
  $cleantalk_hooked_actions=Array();
195
  require_once(CLEANTALK_PLUGIN_DIR . 'inc/cleantalk-public.php');
196
  require_once(CLEANTALK_PLUGIN_DIR . 'inc/cleantalk-ajax.php');
197
+ if(isset($_POST['action'])&&!in_array($_POST['action'],$cleantalk_hooked_actions)&&!isset($_COOKIE[LOGGED_IN_COOKIE]))
198
  {
199
  ct_ajax_hook();
200
  }
inc/cleantalk-common.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- $ct_agent_version = 'wordpress-534';
4
  $ct_plugin_name = 'Anti-spam by CleanTalk';
5
  $ct_checkjs_frm = 'ct_checkjs_frm';
6
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
1
  <?php
2
 
3
+ $ct_agent_version = 'wordpress-5341';
4
  $ct_plugin_name = 'Anti-spam by CleanTalk';
5
  $ct_checkjs_frm = 'ct_checkjs_frm';
6
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
inc/cleantalk-public.php CHANGED
@@ -185,7 +185,7 @@ function ct_init() {
185
  $ct_check_post_result=false;
186
  ct_contact_form_validate();
187
  }
188
- if($_SERVER['REQUEST_METHOD'] == 'POST' && $ct_general_postdata_test==1 && !is_admin()&&!@isset($_POST['ct_checkjs_cf7']))
189
  {
190
  $ct_check_post_result=false;
191
  ct_contact_form_validate_postdata();
@@ -519,7 +519,7 @@ function ct_preprocess_comment($comment) {
519
  }
520
  }
521
 
522
- if (ct_is_user_enable() === false || $ct_options['comments_test'] == 0 || $ct_comment_done || (isset($_SERVER['HTTP_REFERER']) && stripos($_SERVER['HTTP_REFERER'],'page=wysija_campaigns&action=editTemplate')!==false) || $is_max_comments || strpos($_SERVER['REQUEST_URI'],'/wp-admin/')!==false) {
523
  return $comment;
524
  }
525
 
@@ -534,7 +534,7 @@ function ct_preprocess_comment($comment) {
534
  );
535
 
536
  // Go out if author in local blacklists
537
- if ($local_blacklists === true) {
538
  return $comment;
539
  }
540
 
185
  $ct_check_post_result=false;
186
  ct_contact_form_validate();
187
  }
188
+ if($_SERVER['REQUEST_METHOD'] == 'POST' && $ct_general_postdata_test==1 && !is_admin()&&!@isset($_POST['ct_checkjs_cf7']))// || isset($_POST['url']) && isset($_POST['title']) && $_POST['excerpt'])
189
  {
190
  $ct_check_post_result=false;
191
  ct_contact_form_validate_postdata();
519
  }
520
  }
521
 
522
+ if (($comment['comment_type']!='trackback') && (ct_is_user_enable() === false || $ct_options['comments_test'] == 0 || $ct_comment_done || (isset($_SERVER['HTTP_REFERER']) && stripos($_SERVER['HTTP_REFERER'],'page=wysija_campaigns&action=editTemplate')!==false) || $is_max_comments || strpos($_SERVER['REQUEST_URI'],'/wp-admin/')!==false)) {
523
  return $comment;
524
  }
525
 
534
  );
535
 
536
  // Go out if author in local blacklists
537
+ if ($comment['comment_type']!='trackback' && $local_blacklists === true) {
538
  return $comment;
539
  }
540
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Anti-Spam by CleanTalk - No Captcha, no comments & registrations spam ===
2
  Contributors: znaeff, shagimuratov, vlad-cleantalk
3
- Tags: anti-spam, antispam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spam, spammers, spammy, woocommerce, wordpress spam, booking, order, 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, math, security, login, blacklist, cache, prevent, wordpress, User Frontend, bulk delete, bulk remove, cloudflare, widget, review, auth forms, firewall, ddos, 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
4
  Requires at least: 3.0
5
- Tested up to: 4.4
6
- Stable tag: 5.34
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -334,6 +334,19 @@ If you or someone from your visitors have error "Forbidden. Enable JavaScript."
334
  = Troubleshooting Guide =
335
  <a href="http://wordpress.org/support/plugin/cleantalk-spam-protect">Anti-spam by CleanTalk support forum</a> | <a href="http://wordpress.org/plugins/cleantalk-spam-protect/faq/">Plugin FAQ</a>
336
 
 
 
 
 
 
 
 
 
 
 
 
 
 
337
  If you're having trouble getting things to work after installing the plugin, here are a few things to check:
338
 
339
  1. If you haven't yet, please upgrade plugin to the latest version.
@@ -415,6 +428,10 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
415
  1. CleanTalk works faster than most of the other anti-spam plugins.
416
 
417
  == Changelog ==
 
 
 
 
418
  = 5.34 2015-12-10 =
419
  * Improved spam checking mechanism
420
  * Added "Collect browser details" option for better antispam protection
@@ -937,10 +954,14 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
937
  * First version
938
 
939
  == Upgrade Notice ==
 
 
 
 
940
  = 5.34 2015-12-10 =
941
  * Improved spam checking mechanism
942
  * Added "Collect browser details" option for better antispam protection
943
- * Fixed custom contact forms checking for AJAX requests
944
  * Minor translations fixes
945
 
946
  = 5.33.1 2015-12-04 =
1
  === Anti-Spam by CleanTalk - No Captcha, no comments & registrations spam ===
2
  Contributors: znaeff, shagimuratov, vlad-cleantalk
3
+ Tags: anti-spam, antispam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spam, spammers, spammy, woocommerce, wordpress spam, booking, order, 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, cloudflare, widget, review, auth forms, firewall, ddos, 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, spam trackbacks
4
  Requires at least: 3.0
5
+ Tested up to: 4.4.1
6
+ Stable tag: 5.34.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
334
  = Troubleshooting Guide =
335
  <a href="http://wordpress.org/support/plugin/cleantalk-spam-protect">Anti-spam by CleanTalk support forum</a> | <a href="http://wordpress.org/plugins/cleantalk-spam-protect/faq/">Plugin FAQ</a>
336
 
337
+ You can contact to technical support for any questions at any time. If you have questions or suggestions, we will be happy to help you. Please note that we accept requests in English only.
338
+
339
+ Technical Support 24/7 to help you get accustomed to the work of the anti-spam service.
340
+
341
+ If you have specific needs, you can contact our Cleantalk customer support team at any time, day or night.
342
+ We strive to answer all emails within 1-2 hours, and most are answered in substantially less time.
343
+
344
+ When you contact CleanTalk Technical Support, we recommend to give us following:
345
+ 1. Site URL.
346
+ 2. CMS name and version.
347
+ 3. URL of page with the comments / registration / feedback form.
348
+ This will help us give you a faster response. Please write us: welcome [at] cleantalk dot com
349
+
350
  If you're having trouble getting things to work after installing the plugin, here are a few things to check:
351
 
352
  1. If you haven't yet, please upgrade plugin to the latest version.
428
  1. CleanTalk works faster than most of the other anti-spam plugins.
429
 
430
  == Changelog ==
431
+ = 5.34.1 2015-12-17 =
432
+ * Fixed trackback antispam protection: improved checking mechanism
433
+ * Fixed problem with blocking MailPoet: added exclusions in spam checking algorithm
434
+
435
  = 5.34 2015-12-10 =
436
  * Improved spam checking mechanism
437
  * Added "Collect browser details" option for better antispam protection
954
  * First version
955
 
956
  == Upgrade Notice ==
957
+ = 5.34.1 2015-12-17 =
958
+ * Fixed trackback antispam protection: improved checking mechanism
959
+ * Fixed problem with blocking MailPoet: added exclusions in spam checking algorithm
960
+
961
  = 5.34 2015-12-10 =
962
  * Improved spam checking mechanism
963
  * Added "Collect browser details" option for better antispam protection
964
+ * Fixed custom contact forms checking
965
  * Minor translations fixes
966
 
967
  = 5.33.1 2015-12-04 =