Version Description
2014-06-27 = * Fixed anit-spam protection bug for signups. * Changed anti-spam functions (comments and signups) priority.
Download this release
Release Info
Developer | shagimuratov |
Plugin | Spam protection, AntiSpam, FireWall by CleanTalk |
Version | 2.53 |
Comparing to | |
See all releases |
Code changes from version 2.52 to 2.53
- cleantalk.php +5 -9
- readme.txt +10 -2
cleantalk.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
Plugin Name: Anti-spam by CleanTalk
|
4 |
Plugin URI: http://cleantalk.org
|
5 |
Description: Cloud antispam for comments, registrations and contacts. The plugin doesn't use CAPTCHA, Q&A, math, counting animals or quiz to stop spam bots.
|
6 |
-
Version: 2.
|
7 |
Author: СleanTalk <welcome@cleantalk.ru>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
|
11 |
define('CLEANTALK_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
12 |
|
13 |
-
$ct_agent_version = 'wordpress-
|
14 |
$ct_plugin_name = 'Anti-spam by CleanTalk';
|
15 |
$ct_checkjs_frm = 'ct_checkjs_frm';
|
16 |
$ct_checkjs_register_form = 'ct_checkjs_register_form';
|
@@ -79,7 +79,7 @@ add_action('init', 'ct_init', 1);
|
|
79 |
add_action( 'plugins_loaded', 'ct_plugin_loaded' );
|
80 |
|
81 |
// Comments
|
82 |
-
add_filter('preprocess_comment', 'ct_preprocess_comment'); // param - comment data array
|
83 |
add_filter('comment_text', 'ct_comment_text' );
|
84 |
|
85 |
// Formidable
|
@@ -88,7 +88,7 @@ add_action('frm_entries_footer_scripts', 'ct_frm_entries_footer_scripts', 20, 2)
|
|
88 |
|
89 |
// Registrations
|
90 |
add_action('register_form','ct_register_form');
|
91 |
-
add_filter('registration_errors', 'ct_registration_errors',
|
92 |
add_action('user_register', 'ct_user_register');
|
93 |
|
94 |
// Multisite registrations
|
@@ -1030,16 +1030,12 @@ function ct_register_post($sanitized_user_login = null, $user_email = null, $err
|
|
1030 |
*/
|
1031 |
function ct_registration_errors($errors, $sanitized_user_login = null, $user_email = null) {
|
1032 |
global $ct_agent_version, $ct_checkjs_register_form, $ct_session_request_id_label, $ct_session_register_ok_label, $bp, $ct_signup_done;
|
1033 |
-
|
1034 |
-
// If there is an error already, let it do it's thing
|
1035 |
-
if (is_object($errors) && $errors->get_error_code()) {
|
1036 |
-
return $errors;
|
1037 |
-
}
|
1038 |
|
1039 |
// The function already executed
|
1040 |
if ($ct_signup_done) {
|
1041 |
return $errors;
|
1042 |
}
|
|
|
1043 |
//
|
1044 |
// BuddyPress actions
|
1045 |
//
|
3 |
Plugin Name: Anti-spam by CleanTalk
|
4 |
Plugin URI: http://cleantalk.org
|
5 |
Description: Cloud antispam for comments, registrations and contacts. The plugin doesn't use CAPTCHA, Q&A, math, counting animals or quiz to stop spam bots.
|
6 |
+
Version: 2.53
|
7 |
Author: СleanTalk <welcome@cleantalk.ru>
|
8 |
Author URI: http://cleantalk.org
|
9 |
*/
|
10 |
|
11 |
define('CLEANTALK_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
12 |
|
13 |
+
$ct_agent_version = 'wordpress-253';
|
14 |
$ct_plugin_name = 'Anti-spam by CleanTalk';
|
15 |
$ct_checkjs_frm = 'ct_checkjs_frm';
|
16 |
$ct_checkjs_register_form = 'ct_checkjs_register_form';
|
79 |
add_action( 'plugins_loaded', 'ct_plugin_loaded' );
|
80 |
|
81 |
// Comments
|
82 |
+
add_filter('preprocess_comment', 'ct_preprocess_comment', 1, 1); // param - comment data array
|
83 |
add_filter('comment_text', 'ct_comment_text' );
|
84 |
|
85 |
// Formidable
|
88 |
|
89 |
// Registrations
|
90 |
add_action('register_form','ct_register_form');
|
91 |
+
add_filter('registration_errors', 'ct_registration_errors', 1, 3);
|
92 |
add_action('user_register', 'ct_user_register');
|
93 |
|
94 |
// Multisite registrations
|
1030 |
*/
|
1031 |
function ct_registration_errors($errors, $sanitized_user_login = null, $user_email = null) {
|
1032 |
global $ct_agent_version, $ct_checkjs_register_form, $ct_session_request_id_label, $ct_session_register_ok_label, $bp, $ct_signup_done;
|
|
|
|
|
|
|
|
|
|
|
1033 |
|
1034 |
// The function already executed
|
1035 |
if ($ct_signup_done) {
|
1036 |
return $errors;
|
1037 |
}
|
1038 |
+
|
1039 |
//
|
1040 |
// BuddyPress actions
|
1041 |
//
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Anti-spam by CleanTalk ===
|
2 |
Contributors: znaeff, shagimuratov
|
3 |
-
Tags:
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.9.1
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -143,6 +143,10 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
|
|
143 |
1. Anti spam stopped spam bot at the registration form.
|
144 |
|
145 |
== Changelog ==
|
|
|
|
|
|
|
|
|
146 |
= 2.52 2014-06-25 =
|
147 |
* Fixed 'Fatal error: Call to a member function get_error_code()' issue with signups via BuddyPress.
|
148 |
|
@@ -341,6 +345,10 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
|
|
341 |
* First version
|
342 |
|
343 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
344 |
= 2.52 2014-06-25 =
|
345 |
* Fixed 'Fatal error: Call to a member function get_error_code()' issue with signups via BuddyPress.
|
346 |
|
1 |
=== Anti-spam by CleanTalk ===
|
2 |
Contributors: znaeff, shagimuratov
|
3 |
+
Tags: antispam, anti-spam, anti spam, spam, spammers, captcha, comments, registration, contact form, blacklist, math, signup, formidable, bot, spam bots, spammy, s2member, wordpress, support, BuddyPress, bbpress, landing pages, fast secure contact form, WooCommerce, jetpack
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.9.1
|
6 |
+
Stable tag: 2.53
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
143 |
1. Anti spam stopped spam bot at the registration form.
|
144 |
|
145 |
== Changelog ==
|
146 |
+
= 2.53 2014-06-27 =
|
147 |
+
* Fixed anit-spam protection bug for signups.
|
148 |
+
* Changed anti-spam functions (comments and signups) priority.
|
149 |
+
|
150 |
= 2.52 2014-06-25 =
|
151 |
* Fixed 'Fatal error: Call to a member function get_error_code()' issue with signups via BuddyPress.
|
152 |
|
345 |
* First version
|
346 |
|
347 |
== Upgrade Notice ==
|
348 |
+
= 2.53 2014-06-27 =
|
349 |
+
* Fixed anit-spam protection bug for signups.
|
350 |
+
* Changed anti-spam functions (comments and signups) priority.
|
351 |
+
|
352 |
= 2.52 2014-06-25 =
|
353 |
* Fixed 'Fatal error: Call to a member function get_error_code()' issue with signups via BuddyPress.
|
354 |
|