Version Description
2014-07-11 = * Fixed bug with account status function. In backend the plugin showed notice 'Please dont forget to disable CAPTCHA if you have it!' on every page.
Download this release
Release Info
Developer | shagimuratov |
Plugin | Spam protection, AntiSpam, FireWall by CleanTalk |
Version | 2.55 |
Comparing to | |
See all releases |
Code changes from version 2.54 to 2.55
- cleantalk-admin.php +2 -11
- cleantalk.php +2 -2
- readme.txt +7 -1
cleantalk-admin.php
CHANGED
@@ -77,7 +77,7 @@ function ct_admin_init() {
|
|
77 |
}
|
78 |
|
79 |
// Save next status request time
|
80 |
-
$ct_options['next_account_status_check'] = strtotime("
|
81 |
update_option('cleantalk_settings', $ct_options);
|
82 |
}
|
83 |
|
@@ -440,7 +440,7 @@ if (!function_exists ( 'ct_plugin_action_links')) {
|
|
440 |
*/
|
441 |
function ct_update_option($option_name) {
|
442 |
global $show_ct_notice_online, $ct_notice_online_label, $ct_notice_trial_label, $trial_notice_showtime;
|
443 |
-
|
444 |
if($option_name !== 'cleantalk_settings')
|
445 |
return;
|
446 |
|
@@ -461,15 +461,6 @@ function ct_update_option($option_name) {
|
|
461 |
setcookie($ct_notice_online_label, 1, strtotime("+5 seconds"), '/');
|
462 |
setcookie($ct_notice_trial_label, (int) 0, strtotime("+$trial_notice_showtime minutes"), '/');
|
463 |
}
|
464 |
-
|
465 |
-
//
|
466 |
-
// Force account status check
|
467 |
-
//
|
468 |
-
$ct_options = ct_get_options();
|
469 |
-
$ct_options['next_account_status_check'] = 0;
|
470 |
-
update_option('cleantalk_settings', $ct_options);
|
471 |
-
|
472 |
-
return null;
|
473 |
}
|
474 |
|
475 |
?>
|
77 |
}
|
78 |
|
79 |
// Save next status request time
|
80 |
+
$ct_options['next_account_status_check'] = strtotime("+$notice_check_timeout hours", time());
|
81 |
update_option('cleantalk_settings', $ct_options);
|
82 |
}
|
83 |
|
440 |
*/
|
441 |
function ct_update_option($option_name) {
|
442 |
global $show_ct_notice_online, $ct_notice_online_label, $ct_notice_trial_label, $trial_notice_showtime;
|
443 |
+
|
444 |
if($option_name !== 'cleantalk_settings')
|
445 |
return;
|
446 |
|
461 |
setcookie($ct_notice_online_label, 1, strtotime("+5 seconds"), '/');
|
462 |
setcookie($ct_notice_trial_label, (int) 0, strtotime("+$trial_notice_showtime minutes"), '/');
|
463 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
464 |
}
|
465 |
|
466 |
?>
|
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';
|
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.55
|
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-255';
|
14 |
$ct_plugin_name = 'Anti-spam by CleanTalk';
|
15 |
$ct_checkjs_frm = 'ct_checkjs_frm';
|
16 |
$ct_checkjs_register_form = 'ct_checkjs_register_form';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -143,6 +143,9 @@ 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.54 2014-07-11 =
|
147 |
* Fixed signup anti spam protection logic for BuddyPress registrations.
|
148 |
* Fixed anti spam protection for JetPack contact form.
|
@@ -350,6 +353,9 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
|
|
350 |
* First version
|
351 |
|
352 |
== Upgrade Notice ==
|
|
|
|
|
|
|
353 |
= 2.54 2014-07-11 =
|
354 |
* Fixed signup anti spam protection logic for BuddyPress registrations.
|
355 |
* Fixed anti spam protection for JetPack contact form.
|
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.55
|
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.55 2014-07-11 =
|
147 |
+
* Fixed bug with account status function. In backend the plugin showed notice 'Please don’t forget to disable CAPTCHA if you have it!' on every page.
|
148 |
+
|
149 |
= 2.54 2014-07-11 =
|
150 |
* Fixed signup anti spam protection logic for BuddyPress registrations.
|
151 |
* Fixed anti spam protection for JetPack contact form.
|
353 |
* First version
|
354 |
|
355 |
== Upgrade Notice ==
|
356 |
+
= 2.55 2014-07-11 =
|
357 |
+
* Fixed bug with account status function. In backend the plugin showed notice 'Please don’t forget to disable CAPTCHA if you have it!' on every page.
|
358 |
+
|
359 |
= 2.54 2014-07-11 =
|
360 |
* Fixed signup anti spam protection logic for BuddyPress registrations.
|
361 |
* Fixed anti spam protection for JetPack contact form.
|