Spam protection, AntiSpam, FireWall by CleanTalk - Version 4.12

Version Description

2014-12-29 = * Fixed bug with 'Wrong Access key...' notice in WordPress dashboard. * Fixed filtration bug in WordPress dashboard login form.

Download this release

Release Info

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

Code changes from version 4.11 to 4.12

Files changed (3) hide show
  1. cleantalk-admin.php +3 -2
  2. cleantalk.php +7 -4
  3. readme.txt +8 -1
cleantalk-admin.php CHANGED
@@ -92,13 +92,13 @@ function ct_admin_init() {
92
 
93
  $show_ct_notice_online = '';
94
  if (isset($_COOKIE[$ct_notice_online_label])) {
95
- if ($_COOKIE[$ct_notice_online_label] != 0 && time() - $_COOKIE[$ct_notice_online_label] <= 5) {
96
  $show_ct_notice_online = 'Y';
97
  } else {
98
  $show_ct_notice_online = '';
99
  }
100
 
101
- if ($_COOKIE[$ct_notice_online_label] == 0) {
102
  $show_ct_notice_online = 'N';
103
  }
104
  }
@@ -456,6 +456,7 @@ function ct_update_option($option_name) {
456
  return;
457
  }
458
 
 
459
  // Skip test call if the function executet during account status check
460
  if ($ct_account_status_check > 0 && time() - $ct_account_status_check < 5) {
461
  return;
92
 
93
  $show_ct_notice_online = '';
94
  if (isset($_COOKIE[$ct_notice_online_label])) {
95
+ if ($_COOKIE[$ct_notice_online_label] !== '0' && time() - $_COOKIE[$ct_notice_online_label] <= 5) {
96
  $show_ct_notice_online = 'Y';
97
  } else {
98
  $show_ct_notice_online = '';
99
  }
100
 
101
+ if ($_COOKIE[$ct_notice_online_label] === '0') {
102
  $show_ct_notice_online = 'N';
103
  }
104
  }
456
  return;
457
  }
458
 
459
+
460
  // Skip test call if the function executet during account status check
461
  if ($ct_account_status_check > 0 && time() - $ct_account_status_check < 5) {
462
  return;
cleantalk.php CHANGED
@@ -2,15 +2,15 @@
2
  /*
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: 4.11
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
 
11
  define('CLEANTALK_PLUGIN_DIR', plugin_dir_path(__FILE__));
12
 
13
- $ct_agent_version = 'wordpress-411';
14
  $ct_plugin_name = 'Anti-spam by CleanTalk';
15
  $ct_checkjs_frm = 'ct_checkjs_frm';
16
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
@@ -1769,7 +1769,10 @@ function ct_s2member_registration_test() {
1769
  * General test for any contact form
1770
  */
1771
  function ct_contact_form_validate () {
1772
- if ($_SERVER['REQUEST_METHOD'] != 'POST') {
 
 
 
1773
  return null;
1774
  }
1775
 
2
  /*
3
  Plugin Name: Anti-spam by CleanTalk
4
  Plugin URI: http://cleantalk.org
5
+ Description: Max power, all-in-one, captcha less, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
6
+ Version: 4.12
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
 
11
  define('CLEANTALK_PLUGIN_DIR', plugin_dir_path(__FILE__));
12
 
13
+ $ct_agent_version = 'wordpress-412';
14
  $ct_plugin_name = 'Anti-spam by CleanTalk';
15
  $ct_checkjs_frm = 'ct_checkjs_frm';
16
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
1769
  * General test for any contact form
1770
  */
1771
  function ct_contact_form_validate () {
1772
+
1773
+ if ($_SERVER['REQUEST_METHOD'] != 'POST' ||
1774
+ (isset($_POST['log']) && isset($_POST['pwd'])) // WordPress log in form
1775
+ ) {
1776
  return null;
1777
  }
1778
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: znaeff, shagimuratov
3
  Tags: Akismet, anti spam, antispam, bbpress spam, buddypress spam, capcha, captcha antispam, cf7 spam, comments spam, contact form spam, fast secure contact form spam, form, Formidable spam, jetpack spam, landing pages, math, registration spam, s2member, signup spam, spam, spammers, spammy, WooCommerce spam, wordpress spam, booking spam, order spam
4
  Requires at least: 3.0
5
  Tested up to: 4.1
6
- Stable tag: 4.11
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -159,6 +159,10 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
159
  1. Setup Android/iOS app to have push notices when new legitiamte comments/registrations or contactcs appears on the website.
160
 
161
  == Changelog ==
 
 
 
 
162
  = 4.11 2014-12-22 =
163
  * Improved anti spam protection for custom contact/registration/subscribe forms.
164
  * Improved anti spam protection for comments.
@@ -456,6 +460,9 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
456
  * First version
457
 
458
  == Upgrade Notice ==
 
 
 
459
  = 4.11 2014-12-22 =
460
  Major changes in spam protection algorithms.
461
 
3
  Tags: Akismet, anti spam, antispam, bbpress spam, buddypress spam, capcha, captcha antispam, cf7 spam, comments spam, contact form spam, fast secure contact form spam, form, Formidable spam, jetpack spam, landing pages, math, registration spam, s2member, signup spam, spam, spammers, spammy, WooCommerce spam, wordpress spam, booking spam, order spam
4
  Requires at least: 3.0
5
  Tested up to: 4.1
6
+ Stable tag: 4.12
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
159
  1. Setup Android/iOS app to have push notices when new legitiamte comments/registrations or contactcs appears on the website.
160
 
161
  == Changelog ==
162
+ = 4.12 2014-12-29 =
163
+ * Fixed bug with 'Wrong Access key...' notice in WordPress dashboard.
164
+ * Fixed filtration bug in WordPress dashboard login form.
165
+
166
  = 4.11 2014-12-22 =
167
  * Improved anti spam protection for custom contact/registration/subscribe forms.
168
  * Improved anti spam protection for comments.
460
  * First version
461
 
462
  == Upgrade Notice ==
463
+ = 4.12 2014-12-29 =
464
+ Plugin backend minfor bug fixes.
465
+
466
  = 4.11 2014-12-22 =
467
  Major changes in spam protection algorithms.
468