Version Description
September 2 2017 = * Fix for users spam check for PHP 5.3 and lower.
Download this release
Release Info
Developer | Safronik |
Plugin | Spam protection, AntiSpam, FireWall by CleanTalk |
Version | 5.74.2 |
Comparing to | |
See all releases |
Code changes from version 5.74.1 to 5.74.2
- cleantalk.php +3 -3
- inc/cleantalk-users.php +8 -4
- readme.txt +7 -1
cleantalk.php
CHANGED
@@ -3,13 +3,13 @@
|
|
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.74.
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
|
11 |
-
$cleantalk_plugin_version='5.74.
|
12 |
-
$ct_agent_version = 'wordpress-
|
13 |
$cleantalk_executed=false;
|
14 |
|
15 |
define('CLEANTALK_REMOTE_CALL_SLEEP', 10); // Minimum time between remote call
|
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.74.2
|
7 |
Author: СleanTalk <welcome@cleantalk.org>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
|
11 |
+
$cleantalk_plugin_version='5.74.2';
|
12 |
+
$ct_agent_version = 'wordpress-5742';
|
13 |
$cleantalk_executed=false;
|
14 |
|
15 |
define('CLEANTALK_REMOTE_CALL_SLEEP', 10); // Minimum time between remote call
|
inc/cleantalk-users.php
CHANGED
@@ -471,7 +471,8 @@ function ct_ajax_info_users($direct_call = false)
|
|
471 |
'count'=>true,
|
472 |
);
|
473 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
474 |
-
$
|
|
|
475 |
|
476 |
// Checked users
|
477 |
$params = array(
|
@@ -480,7 +481,8 @@ function ct_ajax_info_users($direct_call = false)
|
|
480 |
'count_total' => true,
|
481 |
);
|
482 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
483 |
-
$
|
|
|
484 |
|
485 |
// Spam users
|
486 |
$params = array(
|
@@ -489,7 +491,8 @@ function ct_ajax_info_users($direct_call = false)
|
|
489 |
'count_total' => true,
|
490 |
);
|
491 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
492 |
-
$
|
|
|
493 |
|
494 |
// Bad users (without IP and Email)
|
495 |
$params = array(
|
@@ -498,7 +501,8 @@ function ct_ajax_info_users($direct_call = false)
|
|
498 |
'count_total' => true,
|
499 |
);
|
500 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
501 |
-
$
|
|
|
502 |
|
503 |
$return = array(
|
504 |
'message' => '',
|
471 |
'count'=>true,
|
472 |
);
|
473 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
474 |
+
$tmp = new WP_User_Query($params);
|
475 |
+
$cnt = $tmp->get_total();
|
476 |
|
477 |
// Checked users
|
478 |
$params = array(
|
481 |
'count_total' => true,
|
482 |
);
|
483 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
484 |
+
$tmp = new WP_User_Query($params);
|
485 |
+
$cnt_checked = $tmp->get_total();
|
486 |
|
487 |
// Spam users
|
488 |
$params = array(
|
491 |
'count_total' => true,
|
492 |
);
|
493 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
494 |
+
$tmp = new WP_User_Query($params);
|
495 |
+
$cnt_spam = $tmp->get_total();
|
496 |
|
497 |
// Bad users (without IP and Email)
|
498 |
$params = array(
|
501 |
'count_total' => true,
|
502 |
);
|
503 |
if(isset($from_date, $till_date)) $params['date_query'] = array('column' => 'user_registered', 'after' => $from_date, 'before' => $till_date, 'inclusive' => true);
|
504 |
+
$tmp = new WP_User_Query($params);
|
505 |
+
$cnt_bad = $tmp->get_total();
|
506 |
|
507 |
$return = array(
|
508 |
'message' => '',
|
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.74.
|
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.
|
@@ -506,6 +506,9 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
|
|
506 |
1. The plugin deletes/removes the existing spam comments and users accounts.
|
507 |
|
508 |
== Changelog ==
|
|
|
|
|
|
|
509 |
= 5.74.1 September 2 2017 =
|
510 |
* Fix for the update system and cloud communication.
|
511 |
* Added possibility to check users and comments for spam with a specific date range.
|
@@ -1425,6 +1428,9 @@ We develop plugin to do it as optimized as possible, CleanTalk doesn't downgrade
|
|
1425 |
* First version
|
1426 |
|
1427 |
== Upgrade Notice ==
|
|
|
|
|
|
|
1428 |
= 5.74.1 September 2 2017 =
|
1429 |
* Fix for the update system and cloud communication.
|
1430 |
* Added possibility to check users and comments for spam with a specific date range.
|
3 |
Tags: antispam, protection, contact form, comments, spam
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.8
|
6 |
+
Stable tag: 5.74.2
|
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.
|
506 |
1. The plugin deletes/removes the existing spam comments and users accounts.
|
507 |
|
508 |
== Changelog ==
|
509 |
+
= 5.74.2 September 2 2017 =
|
510 |
+
* Fix for users spam check for PHP 5.3 and lower.
|
511 |
+
|
512 |
= 5.74.1 September 2 2017 =
|
513 |
* Fix for the update system and cloud communication.
|
514 |
* Added possibility to check users and comments for spam with a specific date range.
|
1428 |
* First version
|
1429 |
|
1430 |
== Upgrade Notice ==
|
1431 |
+
= 5.74.2 September 2 2017 =
|
1432 |
+
* Fix for users spam check for PHP 5.3 and lower.
|
1433 |
+
|
1434 |
= 5.74.1 September 2 2017 =
|
1435 |
* Fix for the update system and cloud communication.
|
1436 |
* Added possibility to check users and comments for spam with a specific date range.
|