Spam protection, AntiSpam, FireWall by CleanTalk - Version 5.72

Version Description

July 27 2017 = * Improved spam check for existed users and comments. * Minor fixes.

Download this release

Release Info

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

Code changes from version 5.71 to 5.72

assets/js/cleantalk-comments-checkspam.js CHANGED
@@ -97,8 +97,10 @@ function ct_send_comments(){
97
 
98
  if(parseInt(msg.error)){
99
  ct_working=false;
100
- alert(msg.error_message);
101
- location.href='edit-comments.php?page=ct_check_spam&ct_worked=1';
 
 
102
  }else{
103
  ct_new_check = false;
104
  if(parseInt(msg.end) == 0){
97
 
98
  if(parseInt(msg.error)){
99
  ct_working=false;
100
+ if(!confirm(msg.error_message+". Do you want to proceed?"))
101
+ location.href='users.php?page=ct_check_spam&ct_worked=1';
102
+ else
103
+ ct_send_comments();
104
  }else{
105
  ct_new_check = false;
106
  if(parseInt(msg.end) == 0){
assets/js/cleantalk-users-checkspam.js CHANGED
@@ -97,8 +97,10 @@ function ct_send_users(){
97
 
98
  if(parseInt(msg.error)){
99
  ct_working=false;
100
- alert(msg.error_message);
101
- location.href='users.php?page=ct_check_users&ct_worked=1';
 
 
102
  }else{
103
  ct_new_check = false;
104
  if(parseInt(msg.end) == 0){
97
 
98
  if(parseInt(msg.error)){
99
  ct_working=false;
100
+ if(!confirm(msg.error_message+". Do you want to proceed?"))
101
+ location.href='users.php?page=ct_check_users&ct_worked=1';
102
+ else
103
+ ct_send_users();
104
  }else{
105
  ct_new_check = false;
106
  if(parseInt(msg.end) == 0){
cleantalk.php CHANGED
@@ -3,12 +3,12 @@
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.71
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
- $cleantalk_plugin_version='5.71';
11
- $ct_agent_version = 'wordpress-571';
12
  $cleantalk_executed=false;
13
  $ct_sfw_updated = false;
14
 
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.72
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
+ $cleantalk_plugin_version='5.72';
11
+ $ct_agent_version = 'wordpress-572';
12
  $cleantalk_executed=false;
13
  $ct_sfw_updated = false;
14
 
inc/cleantalk-ajax.php CHANGED
@@ -467,7 +467,7 @@ function ct_ajax_hook($message_obj = false, $additional = false)
467
  print json_encode($result);
468
  die();
469
  }
470
- else if(isset($_POST['action'], $_POST['task']) && $_POST['action'] == 'wysija_ajax' && $_POST['task'] != 'send_preview')
471
  {
472
  $result=Array('result'=>false,'msgs'=>Array('updated'=>Array($ct_result->comment)));
473
  //@header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) );
467
  print json_encode($result);
468
  die();
469
  }
470
+ else if(isset($_POST['action'], $_POST['task']) && $_POST['action'] == 'wysija_ajax' && $_POST['task'] != 'send_preview' && $_POST['task'] != 'send_test_mail')
471
  {
472
  $result=Array('result'=>false,'msgs'=>Array('updated'=>Array($ct_result->comment)));
473
  //@header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: znaeff, shagimuratov, serge00, sartemd174, amagsumov
3
  Tags: antispam, protection, contact form, comments, spam
4
  Requires at least: 3.0
5
  Tested up to: 4.8
6
- Stable tag: 5.71
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.
@@ -24,7 +24,7 @@ No CAPTCHA, no questions, no animal counting, no puzzles, no math and no spam bo
24
  1. Stops spam surveys, polls.
25
  1. Stops spam in widgets.
26
  1. Stops spam in WooCommerce.
27
- 1. Checks the existing comments for spam.
28
 
29
  = Public reviews =
30
  >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.
@@ -504,6 +504,10 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
504
  1. The Dashboard with a map of most spam active countries per your account.
505
 
506
  == Changelog ==
 
 
 
 
507
  = 5.71 July 20 2017 =
508
  * Improved spam protection for external forms.
509
  * Optimization.
@@ -1404,6 +1408,10 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
1404
  * First version
1405
 
1406
  == Upgrade Notice ==
 
 
 
 
1407
  = 5.71 July 20 2017 =
1408
  * Improved spam protection for external forms.
1409
  * Optimization.
3
  Tags: antispam, protection, contact form, comments, spam
4
  Requires at least: 3.0
5
  Tested up to: 4.8
6
+ Stable tag: 5.72
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.
24
  1. Stops spam surveys, polls.
25
  1. Stops spam in widgets.
26
  1. Stops spam in WooCommerce.
27
+ 1. Checks and removes the existing spam comments and spam users.
28
 
29
  = Public reviews =
30
  >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.
504
  1. The Dashboard with a map of most spam active countries per your account.
505
 
506
  == Changelog ==
507
+ = 5.72 July 27 2017 =
508
+ * Improved spam check for existed users and comments.
509
+ * Minor fixes.
510
+
511
  = 5.71 July 20 2017 =
512
  * Improved spam protection for external forms.
513
  * Optimization.
1408
  * First version
1409
 
1410
  == Upgrade Notice ==
1411
+ = 5.72 July 27 2017 =
1412
+ * Improved spam check for existed users and comments.
1413
+ * Minor fixes.
1414
+
1415
  = 5.71 July 20 2017 =
1416
  * Improved spam protection for external forms.
1417
  * Optimization.