Version Description
February 28 2017 = * Bitrix24 Contact form integration. * Users/comments check fix. * Spam sorting updated. * Banner showing logic.
Download this release
Release Info
Developer | Safronik |
Plugin | Spam protection, AntiSpam, FireWall by CleanTalk |
Version | 5.58.3 |
Comparing to | |
See all releases |
Code changes from version 5.58.2 to 5.58.3
- cleantalk.php +21 -17
- inc/cleantalk-admin.php +10 -8
- inc/cleantalk-comments-checkspam.js +31 -2
- inc/cleantalk-comments.php +1 -0
- inc/cleantalk-public.php +7 -5
- inc/cleantalk-users-checkspam.js +29 -2
- inc/cleantalk-users.php +1 -2
- readme.txt +42 -53
cleantalk.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
Plugin Name: Spam Protection 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.58.
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
-
$cleantalk_plugin_version='5.58.
|
11 |
-
$ct_agent_version = 'wordpress-
|
12 |
$cleantalk_executed=false;
|
13 |
$ct_sfw_updated = false;
|
14 |
|
@@ -135,7 +135,7 @@ if(!defined('CLEANTALK_PLUGIN_DIR')){
|
|
135 |
}
|
136 |
|
137 |
//* Remote calls
|
138 |
-
if(isset($_GET['spbc_remote_call_token'], $_GET['spbc_remote_call_action'], $_GET['plugin_name']) && $_GET['plugin_name'] == 'antispam'){
|
139 |
|
140 |
if(isset($ct_data['last_remote_call']) && time() - $ct_data['last_remote_call'] < CLEANTALK_REMOTE_CALL_SLEEP){
|
141 |
echo "FAIL TOO_MANY_ATTEMPTS";
|
@@ -250,6 +250,22 @@ if(!defined('CLEANTALK_PLUGIN_DIR')){
|
|
250 |
add_action('user_register', 'ct_user_register');
|
251 |
|
252 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
|
254 |
add_action('admin_enqueue_scripts', 'ct_enqueue_scripts');
|
255 |
|
@@ -307,19 +323,6 @@ if(!defined('CLEANTALK_PLUGIN_DIR')){
|
|
307 |
ct_contact_form_validate();
|
308 |
$_POST['redirect_to']=$tmp;
|
309 |
}
|
310 |
-
//Bitrix24 contact form
|
311 |
-
if (ct_is_user_enable()) {
|
312 |
-
ct_cookies_test();
|
313 |
-
|
314 |
-
if (isset($ct_options['general_contact_forms_test']) && $ct_options['general_contact_forms_test'] == 1 &&
|
315 |
-
!empty($_POST['your-phone']) &&
|
316 |
-
!empty($_POST['your-email']) &&
|
317 |
-
!empty($_POST['your-message'])
|
318 |
-
){
|
319 |
-
$ct_check_post_result=false;
|
320 |
-
ct_contact_form_validate();
|
321 |
-
}
|
322 |
-
}
|
323 |
}
|
324 |
}
|
325 |
|
@@ -361,6 +364,7 @@ if (!function_exists ( 'ct_activation')) {
|
|
361 |
cleantalk_update_sfw();
|
362 |
|
363 |
add_option('ct_plugin_do_activation_redirect', true);
|
|
|
364 |
}
|
365 |
}
|
366 |
/**
|
3 |
Plugin Name: Spam Protection 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.58.3
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
+
$cleantalk_plugin_version='5.58.3';
|
11 |
+
$ct_agent_version = 'wordpress-5583';
|
12 |
$cleantalk_executed=false;
|
13 |
$ct_sfw_updated = false;
|
14 |
|
135 |
}
|
136 |
|
137 |
//* Remote calls
|
138 |
+
if(isset($_GET['spbc_remote_call_token'], $_GET['spbc_remote_call_action'], $_GET['plugin_name']) && ($_GET['plugin_name'] == 'antispam' || $_GET['plugin_name'] == 'anti-spam')){
|
139 |
|
140 |
if(isset($ct_data['last_remote_call']) && time() - $ct_data['last_remote_call'] < CLEANTALK_REMOTE_CALL_SLEEP){
|
141 |
echo "FAIL TOO_MANY_ATTEMPTS";
|
250 |
add_action('user_register', 'ct_user_register');
|
251 |
|
252 |
}
|
253 |
+
|
254 |
+
require_once(CLEANTALK_PLUGIN_DIR . 'inc/cleantalk-public.php');
|
255 |
+
|
256 |
+
//Bitrix24 contact form
|
257 |
+
if (ct_is_user_enable()) {
|
258 |
+
ct_cookies_test();
|
259 |
+
|
260 |
+
if (isset($ct_options['general_contact_forms_test']) && $ct_options['general_contact_forms_test'] == 1 &&
|
261 |
+
!empty($_POST['your-phone']) &&
|
262 |
+
!empty($_POST['your-email']) &&
|
263 |
+
!empty($_POST['your-message'])
|
264 |
+
){
|
265 |
+
$ct_check_post_result=false;
|
266 |
+
ct_contact_form_validate();
|
267 |
+
}
|
268 |
+
}
|
269 |
|
270 |
add_action('admin_enqueue_scripts', 'ct_enqueue_scripts');
|
271 |
|
323 |
ct_contact_form_validate();
|
324 |
$_POST['redirect_to']=$tmp;
|
325 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
}
|
327 |
}
|
328 |
|
364 |
cleantalk_update_sfw();
|
365 |
|
366 |
add_option('ct_plugin_do_activation_redirect', true);
|
367 |
+
add_option('cleantalk_activation_timestamp', time());
|
368 |
}
|
369 |
}
|
370 |
/**
|
inc/cleantalk-admin.php
CHANGED
@@ -1432,6 +1432,7 @@ function cleantalk_admin_notice_message(){
|
|
1432 |
$ct_options = ct_get_options();
|
1433 |
$ct_data = ct_get_data();
|
1434 |
$page = get_current_screen();
|
|
|
1435 |
|
1436 |
if(!isset($ct_data['moderate_ip']))
|
1437 |
$ct_data['moderate_ip'] = 0;
|
@@ -1443,11 +1444,12 @@ function cleantalk_admin_notice_message(){
|
|
1443 |
$show_notice = true;
|
1444 |
|
1445 |
//Notice control flags
|
1446 |
-
$show_ct_notice_trial =
|
1447 |
-
$show_ct_notice_renew =
|
1448 |
-
$next_notice_show =
|
1449 |
-
$notice_from_report =
|
1450 |
-
$page_is_ct_settings =
|
|
|
1451 |
|
1452 |
//Misc
|
1453 |
$user_token = (isset($ct_data['user_token']) && $ct_data['user_token'] != '' ? "&user_token={$ct_data['user_token']}" : "");
|
@@ -1472,11 +1474,11 @@ function cleantalk_admin_notice_message(){
|
|
1472 |
</h3>
|
1473 |
</div>';
|
1474 |
}
|
1475 |
-
|
1476 |
//key == "" || "enter key"
|
1477 |
if ($show_notice && !ct_valid_key()){
|
1478 |
-
|
1479 |
-
if($page_is_ct_settings)
|
1480 |
echo '<div class="error">
|
1481 |
<h3>' . sprintf(__("Please enter Access Key in %s settings to enable anti spam protection!", 'cleantalk'), "
|
1482 |
<a href=\"options-general.php?page=cleantalk\">CleanTalk plugin</a>") .
|
1432 |
$ct_options = ct_get_options();
|
1433 |
$ct_data = ct_get_data();
|
1434 |
$page = get_current_screen();
|
1435 |
+
$activation_timestapm = get_option('cleantalk_activation_timestamp', false);
|
1436 |
|
1437 |
if(!isset($ct_data['moderate_ip']))
|
1438 |
$ct_data['moderate_ip'] = 0;
|
1444 |
$show_notice = true;
|
1445 |
|
1446 |
//Notice control flags
|
1447 |
+
$show_ct_notice_trial = (isset($ct_data['show_ct_notice_trial']) ? intval($ct_data['show_ct_notice_trial']) : 0);
|
1448 |
+
$show_ct_notice_renew = (isset($ct_data['show_ct_notice_renew']) ? intval($ct_data['show_ct_notice_renew']) : 0);
|
1449 |
+
$next_notice_show = (isset($ct_data['next_notice_show']) ? intval($ct_data['next_notice_show']) : 0); //inactive
|
1450 |
+
$notice_from_report = (isset($ct_data['ct_show_notice_from_report']) ? intval($ct_data['ct_show_notice_from_report']) : 0);
|
1451 |
+
$page_is_ct_settings = ($page->id == 'settings_page_cleantalk' || $page->id == 'settings_page_cleantalk-network' ? true : false);
|
1452 |
+
$three_days_since_activation = (intval($activation_timestapm)+(3*24*60*60) < time() ? true : false);
|
1453 |
|
1454 |
//Misc
|
1455 |
$user_token = (isset($ct_data['user_token']) && $ct_data['user_token'] != '' ? "&user_token={$ct_data['user_token']}" : "");
|
1474 |
</h3>
|
1475 |
</div>';
|
1476 |
}
|
1477 |
+
|
1478 |
//key == "" || "enter key"
|
1479 |
if ($show_notice && !ct_valid_key()){
|
1480 |
+
|
1481 |
+
if($page_is_ct_settings || $three_days_since_activation)
|
1482 |
echo '<div class="error">
|
1483 |
<h3>' . sprintf(__("Please enter Access Key in %s settings to enable anti spam protection!", 'cleantalk'), "
|
1484 |
<a href=\"options-general.php?page=cleantalk\">CleanTalk plugin</a>") .
|
inc/cleantalk-comments-checkspam.js
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
var working = false;
|
2 |
var ajax_nonce = ctCommentsCheck.ct_ajax_nonce;
|
|
|
|
|
|
|
|
|
3 |
|
4 |
String.prototype.format = String.prototype.f = function ()
|
5 |
{
|
@@ -54,6 +58,19 @@ function ct_clear_comments()
|
|
54 |
|
55 |
function ct_send_comments()
|
56 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
var data = {
|
58 |
'action': 'ajax_check_comments',
|
59 |
'security': ajax_nonce
|
@@ -72,13 +89,13 @@ function ct_send_comments()
|
|
72 |
{
|
73 |
working=false;
|
74 |
jQuery('#ct_working_message').hide();
|
75 |
-
//alert('finish!');
|
76 |
location.href='edit-comments.php?page=ct_check_spam&ct_worked=1';
|
77 |
}
|
78 |
else
|
79 |
{
|
80 |
working=false;
|
81 |
-
alert(msg);
|
|
|
82 |
}
|
83 |
},
|
84 |
error: function(jqXHR, textStatus, errorThrown) {
|
@@ -96,6 +113,18 @@ function ct_show_info()
|
|
96 |
{
|
97 |
if(working)
|
98 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
var data = {
|
100 |
'action': 'ajax_info_comments',
|
101 |
'security': ajax_nonce
|
1 |
var working = false;
|
2 |
var ajax_nonce = ctCommentsCheck.ct_ajax_nonce;
|
3 |
+
var ct_cool_down_time = 65000,
|
4 |
+
ct_requests_counter = 0,
|
5 |
+
ct_max_requests = 95,
|
6 |
+
ct_cooling_down_flag = false;
|
7 |
|
8 |
String.prototype.format = String.prototype.f = function ()
|
9 |
{
|
58 |
|
59 |
function ct_send_comments()
|
60 |
{
|
61 |
+
|
62 |
+
if(ct_cooling_down_flag == true)
|
63 |
+
return;
|
64 |
+
|
65 |
+
if(ct_requests_counter == ct_max_requests){
|
66 |
+
setTimeout(ct_send_users, ct_cool_down_time);
|
67 |
+
ct_requests_counter = 0;
|
68 |
+
ct_cooling_down_flag = true;
|
69 |
+
}else{
|
70 |
+
ct_requests_counter++;
|
71 |
+
ct_cooling_down_flag = false;
|
72 |
+
}
|
73 |
+
|
74 |
var data = {
|
75 |
'action': 'ajax_check_comments',
|
76 |
'security': ajax_nonce
|
89 |
{
|
90 |
working=false;
|
91 |
jQuery('#ct_working_message').hide();
|
|
|
92 |
location.href='edit-comments.php?page=ct_check_spam&ct_worked=1';
|
93 |
}
|
94 |
else
|
95 |
{
|
96 |
working=false;
|
97 |
+
alert('Server response: ' + msg);
|
98 |
+
location.href='users.php?page=ct_check_users&ct_worked=1';
|
99 |
}
|
100 |
},
|
101 |
error: function(jqXHR, textStatus, errorThrown) {
|
113 |
{
|
114 |
if(working)
|
115 |
{
|
116 |
+
|
117 |
+
if(ct_cooling_down_flag == true){
|
118 |
+
|
119 |
+
jQuery('#ct_cooling_notice').html('Waiting for API to cool down. (About a minute)');
|
120 |
+
jQuery('#ct_cooling_notice').show();
|
121 |
+
setTimeout(ct_show_users_info, ct_cool_down_time);
|
122 |
+
return;
|
123 |
+
|
124 |
+
}else{
|
125 |
+
jQuery('#ct_cooling_notice').hide();
|
126 |
+
}
|
127 |
+
|
128 |
var data = {
|
129 |
'action': 'ajax_info_comments',
|
130 |
'security': ajax_nonce
|
inc/cleantalk-comments.php
CHANGED
@@ -18,6 +18,7 @@ function ct_show_checkspam_page()
|
|
18 |
<h2><?php echo $ct_plugin_name; ?></h2><br />
|
19 |
|
20 |
<h3 id="ct_checking_status" style="text-align:center;width:90%;"><?php ct_ajax_info_comments(true);?></h3>
|
|
|
21 |
<div style="text-align:center;width:100%;display:none;" id="ct_preloader"><img border=0 src="<?php print plugin_dir_url(__FILE__); ?>images/preloader.gif" />
|
22 |
<br />
|
23 |
<br />
|
18 |
<h2><?php echo $ct_plugin_name; ?></h2><br />
|
19 |
|
20 |
<h3 id="ct_checking_status" style="text-align:center;width:90%;"><?php ct_ajax_info_comments(true);?></h3>
|
21 |
+
<h3 id="ct_cooling_notice" style="text-align:center;width:90%;"></h3>
|
22 |
<div style="text-align:center;width:100%;display:none;" id="ct_preloader"><img border=0 src="<?php print plugin_dir_url(__FILE__); ?>images/preloader.gif" />
|
23 |
<br />
|
24 |
<br />
|
inc/cleantalk-public.php
CHANGED
@@ -1132,9 +1132,11 @@ function ct_preprocess_comment($comment) {
|
|
1132 |
|
1133 |
if($ct_result->spam == 3) // Don't move to spam folder. Delete.
|
1134 |
wp_die($err_text, 'Blacklisted', array('back_link' => true));
|
1135 |
-
|
1136 |
-
if($ct_result->spam == 2)
|
|
|
1137 |
add_action('comment_post', 'ct_wp_trash_comment', 997, 2);
|
|
|
1138 |
|
1139 |
if($ct_result->spam == 1)
|
1140 |
add_filter('pre_comment_approved', 'ct_set_comment_spam', 997, 2);
|
@@ -2371,7 +2373,7 @@ function ct_s2member_registration_test() {
|
|
2371 |
/**
|
2372 |
* General test for any contact form
|
2373 |
*/
|
2374 |
-
function ct_contact_form_validate
|
2375 |
global $pagenow,$cleantalk_executed, $cleantalk_url_exclusions,$ct_options, $ct_data, $ct_checkjs_frm;
|
2376 |
|
2377 |
$ct_options = ct_get_options();
|
@@ -2396,10 +2398,10 @@ function ct_contact_form_validate () {
|
|
2396 |
(isset($_POST['signup_username']) && isset($_POST['signup_email']) && isset($_POST['signup_password'])) ||
|
2397 |
(isset($pagenow) && $pagenow == 'wp-login.php') || // WordPress log in form
|
2398 |
(isset($pagenow) && $pagenow == 'wp-login.php' && isset($_GET['action']) && $_GET['action']=='lostpassword') ||
|
2399 |
-
strpos($_SERVER['REQUEST_URI'],'/wp-admin/')!==false ||
|
2400 |
strpos($_SERVER['REQUEST_URI'],'wp-login.php')!==false||
|
2401 |
strpos($_SERVER['REQUEST_URI'],'wp-comments-post.php')!==false ||
|
2402 |
-
|
2403 |
strpos($_SERVER['REQUEST_URI'],'/login/')!==false||
|
2404 |
isset($_GET['ptype']) && $_GET['ptype']=='login' ||
|
2405 |
check_url_exclusions() ||
|
1132 |
|
1133 |
if($ct_result->spam == 3) // Don't move to spam folder. Delete.
|
1134 |
wp_die($err_text, 'Blacklisted', array('back_link' => true));
|
1135 |
+
|
1136 |
+
if($ct_result->spam == 2){
|
1137 |
+
add_filter('pre_comment_approved', 'ct_set_comment_spam', 997, 2);
|
1138 |
add_action('comment_post', 'ct_wp_trash_comment', 997, 2);
|
1139 |
+
}
|
1140 |
|
1141 |
if($ct_result->spam == 1)
|
1142 |
add_filter('pre_comment_approved', 'ct_set_comment_spam', 997, 2);
|
2373 |
/**
|
2374 |
* General test for any contact form
|
2375 |
*/
|
2376 |
+
function ct_contact_form_validate() {
|
2377 |
global $pagenow,$cleantalk_executed, $cleantalk_url_exclusions,$ct_options, $ct_data, $ct_checkjs_frm;
|
2378 |
|
2379 |
$ct_options = ct_get_options();
|
2398 |
(isset($_POST['signup_username']) && isset($_POST['signup_email']) && isset($_POST['signup_password'])) ||
|
2399 |
(isset($pagenow) && $pagenow == 'wp-login.php') || // WordPress log in form
|
2400 |
(isset($pagenow) && $pagenow == 'wp-login.php' && isset($_GET['action']) && $_GET['action']=='lostpassword') ||
|
2401 |
+
(strpos($_SERVER['REQUEST_URI'],'/wp-admin/')!== false && (empty($_POST['your-phone']) && empty($_POST['your-email']) && empty($_POST['your-message']))) || //Bitrix24 Contact
|
2402 |
strpos($_SERVER['REQUEST_URI'],'wp-login.php')!==false||
|
2403 |
strpos($_SERVER['REQUEST_URI'],'wp-comments-post.php')!==false ||
|
2404 |
+
strpos($_SERVER['HTTP_REFERER'],'/wp-admin/') !== false ||
|
2405 |
strpos($_SERVER['REQUEST_URI'],'/login/')!==false||
|
2406 |
isset($_GET['ptype']) && $_GET['ptype']=='login' ||
|
2407 |
check_url_exclusions() ||
|
inc/cleantalk-users-checkspam.js
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
-
var working=false;
|
2 |
var ajax_nonce = ctUsersCheck.ct_ajax_nonce;
|
|
|
|
|
|
|
|
|
3 |
|
4 |
String.prototype.format = String.prototype.f = function ()
|
5 |
{
|
@@ -55,6 +59,19 @@ function ct_clear_users()
|
|
55 |
|
56 |
function ct_send_users()
|
57 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
var data = {
|
59 |
'action': 'ajax_check_users',
|
60 |
'security': ajax_nonce
|
@@ -72,7 +89,6 @@ function ct_send_users()
|
|
72 |
{
|
73 |
working=false;
|
74 |
jQuery('#ct_working_message').hide();
|
75 |
-
//alert('finish!');
|
76 |
location.href='users.php?page=ct_check_users&ct_worked=1';
|
77 |
}
|
78 |
else
|
@@ -95,6 +111,17 @@ function ct_show_users_info()
|
|
95 |
{
|
96 |
if(working)
|
97 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
var data = {
|
99 |
'action': 'ajax_info_users',
|
100 |
'security': ajax_nonce
|
1 |
+
var working = false;
|
2 |
var ajax_nonce = ctUsersCheck.ct_ajax_nonce;
|
3 |
+
var ct_cool_down_time = 65000,
|
4 |
+
ct_requests_counter = 0,
|
5 |
+
ct_max_requests = 95,
|
6 |
+
ct_cooling_down_flag = false;
|
7 |
|
8 |
String.prototype.format = String.prototype.f = function ()
|
9 |
{
|
59 |
|
60 |
function ct_send_users()
|
61 |
{
|
62 |
+
|
63 |
+
if(ct_cooling_down_flag == true)
|
64 |
+
return;
|
65 |
+
|
66 |
+
if(ct_requests_counter == ct_max_requests){
|
67 |
+
setTimeout(ct_send_users, ct_cool_down_time);
|
68 |
+
ct_requests_counter = 0;
|
69 |
+
ct_cooling_down_flag = true;
|
70 |
+
}else{
|
71 |
+
ct_requests_counter++;
|
72 |
+
ct_cooling_down_flag = false;
|
73 |
+
}
|
74 |
+
|
75 |
var data = {
|
76 |
'action': 'ajax_check_users',
|
77 |
'security': ajax_nonce
|
89 |
{
|
90 |
working=false;
|
91 |
jQuery('#ct_working_message').hide();
|
|
|
92 |
location.href='users.php?page=ct_check_users&ct_worked=1';
|
93 |
}
|
94 |
else
|
111 |
{
|
112 |
if(working)
|
113 |
{
|
114 |
+
if(ct_cooling_down_flag == true){
|
115 |
+
|
116 |
+
jQuery('#ct_cooling_notice').html('Waiting for API to cool down. (About a minute)');
|
117 |
+
jQuery('#ct_cooling_notice').show();
|
118 |
+
setTimeout(ct_show_users_info, ct_cool_down_time);
|
119 |
+
return;
|
120 |
+
|
121 |
+
}else{
|
122 |
+
jQuery('#ct_cooling_notice').hide();
|
123 |
+
}
|
124 |
+
|
125 |
var data = {
|
126 |
'action': 'ajax_info_users',
|
127 |
'security': ajax_nonce
|
inc/cleantalk-users.php
CHANGED
@@ -36,8 +36,6 @@ function ct_show_users_page()
|
|
36 |
|
37 |
$cnt_unchecked=$r[0]->cnt_unchecked;
|
38 |
|
39 |
-
echo(" cnt_unchecked $cnt_unchecked<br>");
|
40 |
-
|
41 |
/*$args_spam = array(
|
42 |
'meta_query' => array(
|
43 |
Array(
|
@@ -65,6 +63,7 @@ $cnt_spam1=$r[0]['cnt'];
|
|
65 |
<?php //_e("Done. All comments tested via blacklists database, please see result bellow.", 'cleantalk'); ?>
|
66 |
</div>
|
67 |
<h3 id="ct_checking_users_status" style="text-align:center;width:90%;"><?php ct_ajax_info_users(true);?></h3>
|
|
|
68 |
<div style="text-align:center;width:100%;display:none;" id="ct_preloader"><img border=0 src="<?php print plugin_dir_url(__FILE__); ?>images/preloader.gif" /></div>
|
69 |
<div id="ct_working_message" style="margin:auto;padding:3px;width:70%;border:2px dotted gray;display:none;background:#ffff99;margin-top: 1em;">
|
70 |
<?php _e("Please wait for a while. CleanTalk is checking all users via blacklist database at cleantalk.org. You will have option to delete found spam users after plugin finish.", 'cleantalk'); ?>
|
36 |
|
37 |
$cnt_unchecked=$r[0]->cnt_unchecked;
|
38 |
|
|
|
|
|
39 |
/*$args_spam = array(
|
40 |
'meta_query' => array(
|
41 |
Array(
|
63 |
<?php //_e("Done. All comments tested via blacklists database, please see result bellow.", 'cleantalk'); ?>
|
64 |
</div>
|
65 |
<h3 id="ct_checking_users_status" style="text-align:center;width:90%;"><?php ct_ajax_info_users(true);?></h3>
|
66 |
+
<h3 id="ct_cooling_notice" style="text-align:center;width:90%;"></h3>
|
67 |
<div style="text-align:center;width:100%;display:none;" id="ct_preloader"><img border=0 src="<?php print plugin_dir_url(__FILE__); ?>images/preloader.gif" /></div>
|
68 |
<div id="ct_working_message" style="margin:auto;padding:3px;width:70%;border:2px dotted gray;display:none;background:#ffff99;margin-top: 1em;">
|
69 |
<?php _e("Please wait for a while. CleanTalk is checking all users via blacklist database at cleantalk.org. You will have option to delete found spam users after plugin finish.", 'cleantalk'); ?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: znaeff, shagimuratov, serge00, sartemd174
|
|
3 |
Tags: spam, anti-spam, antispam, anti spam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spammers, spammy, woocommerce, wordpress spam, subscription, gravity spam, jetpack, bots, contact form 7, contact form, registrations, ninja, Fast Secure Contact, Gravity forms, formidable, mailchimp, s2member, protection, protect, email, plugin, contact, recaptcha, google captcha, google recaptcha, blacklist, prevent spam comments, wordpress, User Frontend, bulk delete, bulk remove, widget, review, firewall, 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, anti-spam plugin, varnish, amp, spam free, userpro,honeypot,puzzle,quiz,survey,poll,security, amo forms, caldera forms, visual form builder, contact form clean and simple
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.7.2
|
6 |
-
Stable tag: 5.58.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -486,6 +486,12 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
|
|
486 |
1. The Dashboard with a map of most spam active countries per your account.
|
487 |
|
488 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
= 5.58.2 February 17 2017 =
|
490 |
* Cron fix for daily report.
|
491 |
|
@@ -1249,6 +1255,12 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
|
|
1249 |
* First version
|
1250 |
|
1251 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
|
|
|
1252 |
= 5.58.2 February 17 2017 =
|
1253 |
* Cron fix for daily report.
|
1254 |
|
@@ -1661,91 +1673,91 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
|
|
1661 |
Added immediate spam protection activation.
|
1662 |
|
1663 |
= 4.22 2015-03-17 =
|
1664 |
-
Added button for automatic spam protection key getting.
|
1665 |
|
1666 |
= 4.21 2015-03-11 =
|
1667 |
-
Added license renew notification.
|
1668 |
|
1669 |
= 4.20 2015-03-03 =
|
1670 |
-
German, Italian, Polish, Portuguese translations, minor code fixes.
|
1671 |
|
1672 |
= 4.19 2015-02-24 =
|
1673 |
-
Increased JS keys lifetime.
|
1674 |
|
1675 |
= 4.18 2015-02-17 =
|
1676 |
-
Bugfix - fixed bug with comments approvement, PayPal 'payment_status' and Akismet 'spam' status processing.
|
1677 |
|
1678 |
= 4.17 2015-02-12 =
|
1679 |
-
New base class, divided code to 3 separate files - common, public and admin.
|
1680 |
|
1681 |
= 4.16 2015-02-05 =
|
1682 |
-
New base class, fixed JetPack filters logics, optimized Formidable, bbPress, BuddyPress filters.
|
1683 |
|
1684 |
= 4.15 2015-01-29 =
|
1685 |
-
Support of Contact Form 7 versions before 3.0.0, fixed global JS-vars and online notice cookie logics.
|
1686 |
|
1687 |
= 4.14 2015-01-19 =
|
1688 |
-
Removed deprecated option from comment approvement code.
|
1689 |
|
1690 |
= 4.13 2014-12-29 =
|
1691 |
-
Not spam comments auto approvement bug fix.
|
1692 |
|
1693 |
= 4.12 2014-12-29 =
|
1694 |
-
Plugin backend minfor bug fixes.
|
1695 |
|
1696 |
= 4.11 2014-12-22 =
|
1697 |
-
Major changes in spam protection algorithms.
|
1698 |
|
1699 |
= 4.10 2014-12-10 =
|
1700 |
-
Minor improvements for custom contact/registration/subscribe forms.
|
1701 |
|
1702 |
= 4.9 2014-11-24 =
|
1703 |
-
Minor bug fix for Contact form 7.
|
1704 |
|
1705 |
= 4.8 2014-11-19 =
|
1706 |
-
Improved anti-spam protection for BuddyPress registrations and custom contact forms.
|
1707 |
|
1708 |
= 4.7 2014-11-16 =
|
1709 |
-
Fixed JavaScript antispam test for FastSecure contact form.
|
1710 |
|
1711 |
= 4.6 2014-11-11 =
|
1712 |
-
Minor changes in anti-spam logic for BuddyPress registrations, contact forms and bbPress guest posting.
|
1713 |
|
1714 |
= 4.5 2014-11-04 =
|
1715 |
-
Bug fixes for Contact form 7 and bbPress guests posting.
|
1716 |
|
1717 |
= 4.4 2014-10-29 =
|
1718 |
-
Improved JS checking for CF7.
|
1719 |
|
1720 |
= 4.2 2014-10-20 =
|
1721 |
-
Increased plugin perfomance for BuddyPress registrations.
|
1722 |
|
1723 |
= 4.1 2014-10-13 =
|
1724 |
-
Minor anti-spam improvements for contacts, registration and contact forms.
|
1725 |
|
1726 |
= 4.0 2014-10-06 =
|
1727 |
-
Major anti-spam improvements for registration and contact forms.
|
1728 |
|
1729 |
= 3.9 2014-10-01 =
|
1730 |
-
Did exception to do not break to create new user in WordPress backend.
|
1731 |
|
1732 |
= 3.8 2014-09-19 =
|
1733 |
-
Bug fix release. Minor fixes in API class and JavaScript anti-spam test.
|
1734 |
|
1735 |
= 3.6 2014-09-15 =
|
1736 |
-
Minor fixes in anti-spam protection for Formidable and custom contact forms.
|
1737 |
|
1738 |
= 3.4 2014-09-04 =
|
1739 |
-
Spam comments rotation. Custom (themes) contact forms support.
|
1740 |
|
1741 |
= 3.2 2014-08-27 =
|
1742 |
-
Minor changes in spam filtration logic.
|
1743 |
|
1744 |
= 3.1 2014-08-19 =
|
1745 |
-
Major changes for comments antispam logic. Improved plugin speed.
|
1746 |
|
1747 |
= 2.59 2014-08-14 =
|
1748 |
-
Antispam protection for bbPress guests posts. Improvement for JetPack comments and PHP API update.
|
1749 |
|
1750 |
= 2.58 2014-08-06 =
|
1751 |
* Added anti-spam protection for signups posted via WooCommerce order form.
|
@@ -1845,26 +1857,3 @@ Minor changes in spam filtration logic.
|
|
1845 |
* Changed: WordPress blacklists settings get priority over plugin's anti-spam settings
|
1846 |
* Changed: Disabled management approval comments for regular commentators of the blog. Automatically approved for publication only the comments of the new blog authors.
|
1847 |
* Changed: PHP code optimizations
|
1848 |
-
|
1849 |
-
= 2.19 2013-11-08 =
|
1850 |
-
* New: Antispam protection from spam bots at the registration form
|
1851 |
-
* Changed: Russian localization for admin panel
|
1852 |
-
* Changed: PHP code optimizations
|
1853 |
-
|
1854 |
-
= 2.5.18 2013-11-01 =
|
1855 |
-
* Fixed: Bug with selection of the last comments for post
|
1856 |
-
* New: Antispam protection for Formidable feedback forms
|
1857 |
-
* New: Automatic deletion of outdated spam comments
|
1858 |
-
* New: On/Off option for comments spam filtration
|
1859 |
-
* Tested with WordPress 3.7.1
|
1860 |
-
|
1861 |
-
= 2.4.15 2013-09-26 =
|
1862 |
-
* Fixed: Bug with mass comments deletion
|
1863 |
-
* Changed: Russian localization for admin panel
|
1864 |
-
* Tested with mulitsite setup (WordPress network or WPMU)
|
1865 |
-
|
1866 |
-
= 2.4.14 2013-08-29 =
|
1867 |
-
* Changed: Removed feedback requests to the servers for banned (spam) comments.
|
1868 |
-
|
1869 |
-
= 2.4.13 2013-08-19 =
|
1870 |
-
* Fixed: "Fail connect to servers..." error on hostings with disabled 'allow_url_fopen' PHP option.
|
3 |
Tags: spam, anti-spam, antispam, anti spam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spammers, spammy, woocommerce, wordpress spam, subscription, gravity spam, jetpack, bots, contact form 7, contact form, registrations, ninja, Fast Secure Contact, Gravity forms, formidable, mailchimp, s2member, protection, protect, email, plugin, contact, recaptcha, google captcha, google recaptcha, blacklist, prevent spam comments, wordpress, User Frontend, bulk delete, bulk remove, widget, review, firewall, 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, anti-spam plugin, varnish, amp, spam free, userpro,honeypot,puzzle,quiz,survey,poll,security, amo forms, caldera forms, visual form builder, contact form clean and simple
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.7.2
|
6 |
+
Stable tag: 5.58.3
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
486 |
1. The Dashboard with a map of most spam active countries per your account.
|
487 |
|
488 |
== Changelog ==
|
489 |
+
= 5.58.3 February 28 2017 =
|
490 |
+
* Bitrix24 Contact form integration.
|
491 |
+
* Users/comments check fix.
|
492 |
+
* Spam sorting updated.
|
493 |
+
* Banner showing logic.
|
494 |
+
|
495 |
= 5.58.2 February 17 2017 =
|
496 |
* Cron fix for daily report.
|
497 |
|
1255 |
* First version
|
1256 |
|
1257 |
== Upgrade Notice ==
|
1258 |
+
= 5.58.3 February 28 2017 =
|
1259 |
+
* Bitrix24 Contact form integration.
|
1260 |
+
* Users/comments check fix.
|
1261 |
+
* Spam sorting updated.
|
1262 |
+
* Banner showing logic.
|
1263 |
+
|
1264 |
= 5.58.2 February 17 2017 =
|
1265 |
* Cron fix for daily report.
|
1266 |
|
1673 |
Added immediate spam protection activation.
|
1674 |
|
1675 |
= 4.22 2015-03-17 =
|
1676 |
+
* Added button for automatic spam protection key getting.
|
1677 |
|
1678 |
= 4.21 2015-03-11 =
|
1679 |
+
* Added license renew notification.
|
1680 |
|
1681 |
= 4.20 2015-03-03 =
|
1682 |
+
* German, Italian, Polish, Portuguese translations, minor code fixes.
|
1683 |
|
1684 |
= 4.19 2015-02-24 =
|
1685 |
+
* Increased JS keys lifetime.
|
1686 |
|
1687 |
= 4.18 2015-02-17 =
|
1688 |
+
* Bugfix - fixed bug with comments approvement, PayPal 'payment_status' and Akismet 'spam' status processing.
|
1689 |
|
1690 |
= 4.17 2015-02-12 =
|
1691 |
+
* New base class, divided code to 3 separate files - common, public and admin.
|
1692 |
|
1693 |
= 4.16 2015-02-05 =
|
1694 |
+
* New base class, fixed JetPack filters logics, optimized Formidable, bbPress, BuddyPress filters.
|
1695 |
|
1696 |
= 4.15 2015-01-29 =
|
1697 |
+
* Support of Contact Form 7 versions before 3.0.0, fixed global JS-vars and online notice cookie logics.
|
1698 |
|
1699 |
= 4.14 2015-01-19 =
|
1700 |
+
* Removed deprecated option from comment approvement code.
|
1701 |
|
1702 |
= 4.13 2014-12-29 =
|
1703 |
+
* Not spam comments auto approvement bug fix.
|
1704 |
|
1705 |
= 4.12 2014-12-29 =
|
1706 |
+
* Plugin backend minfor bug fixes.
|
1707 |
|
1708 |
= 4.11 2014-12-22 =
|
1709 |
+
* Major changes in spam protection algorithms.
|
1710 |
|
1711 |
= 4.10 2014-12-10 =
|
1712 |
+
* Minor improvements for custom contact/registration/subscribe forms.
|
1713 |
|
1714 |
= 4.9 2014-11-24 =
|
1715 |
+
* Minor bug fix for Contact form 7.
|
1716 |
|
1717 |
= 4.8 2014-11-19 =
|
1718 |
+
* Improved anti-spam protection for BuddyPress registrations and custom contact forms.
|
1719 |
|
1720 |
= 4.7 2014-11-16 =
|
1721 |
+
* Fixed JavaScript antispam test for FastSecure contact form.
|
1722 |
|
1723 |
= 4.6 2014-11-11 =
|
1724 |
+
* Minor changes in anti-spam logic for BuddyPress registrations, contact forms and bbPress guest posting.
|
1725 |
|
1726 |
= 4.5 2014-11-04 =
|
1727 |
+
* Bug fixes for Contact form 7 and bbPress guests posting.
|
1728 |
|
1729 |
= 4.4 2014-10-29 =
|
1730 |
+
* Improved JS checking for CF7.
|
1731 |
|
1732 |
= 4.2 2014-10-20 =
|
1733 |
+
* Increased plugin perfomance for BuddyPress registrations.
|
1734 |
|
1735 |
= 4.1 2014-10-13 =
|
1736 |
+
* Minor anti-spam improvements for contacts, registration and contact forms.
|
1737 |
|
1738 |
= 4.0 2014-10-06 =
|
1739 |
+
* Major anti-spam improvements for registration and contact forms.
|
1740 |
|
1741 |
= 3.9 2014-10-01 =
|
1742 |
+
* Did exception to do not break to create new user in WordPress backend.
|
1743 |
|
1744 |
= 3.8 2014-09-19 =
|
1745 |
+
* Bug fix release. Minor fixes in API class and JavaScript anti-spam test.
|
1746 |
|
1747 |
= 3.6 2014-09-15 =
|
1748 |
+
* Minor fixes in anti-spam protection for Formidable and custom contact forms.
|
1749 |
|
1750 |
= 3.4 2014-09-04 =
|
1751 |
+
* Spam comments rotation. Custom (themes) contact forms support.
|
1752 |
|
1753 |
= 3.2 2014-08-27 =
|
1754 |
+
* Minor changes in spam filtration logic.
|
1755 |
|
1756 |
= 3.1 2014-08-19 =
|
1757 |
+
* Major changes for comments antispam logic. Improved plugin speed.
|
1758 |
|
1759 |
= 2.59 2014-08-14 =
|
1760 |
+
* Antispam protection for bbPress guests posts. Improvement for JetPack comments and PHP API update.
|
1761 |
|
1762 |
= 2.58 2014-08-06 =
|
1763 |
* Added anti-spam protection for signups posted via WooCommerce order form.
|
1857 |
* Changed: WordPress blacklists settings get priority over plugin's anti-spam settings
|
1858 |
* Changed: Disabled management approval comments for regular commentators of the blog. Automatically approved for publication only the comments of the new blog authors.
|
1859 |
* Changed: PHP code optimizations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|