Spam protection, AntiSpam, FireWall by CleanTalk - Version 4.7

Version Description

2014-11-16 = * Fixed JavaScript antispam test for FastSecure contact form.

Download this release

Release Info

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

Code changes from version 4.6 to 4.7

Files changed (2) hide show
  1. cleantalk.php +5 -5
  2. readme.txt +8 -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: 4.6
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-46';
14
  $ct_plugin_name = 'Anti-spam by CleanTalk';
15
  $ct_checkjs_frm = 'ct_checkjs_frm';
16
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
@@ -917,7 +917,7 @@ function js_test($field_name = 'ct_checkjs', $data = null, $random_key = false)
917
 
918
  if (isset($data[$field_name])) {
919
  $js_post_value = $data[$field_name];
920
-
921
  //
922
  // Random key check
923
  //
@@ -1390,7 +1390,7 @@ function ct_contact_form_is_spam($form) {
1390
  $js_field_name = $k;
1391
  }
1392
 
1393
- $checkjs = js_test($js_field_name, $_POST);
1394
 
1395
  $sender_info = array(
1396
  'sender_url' => @$form['comment_author_url']
@@ -1557,7 +1557,7 @@ function ct_si_contact_form_validate($form_errors = array(), $form_id_num = 0) {
1557
  if ($options['contact_forms_test'] == 0)
1558
  return $form_errors;
1559
 
1560
- $checkjs = js_test('ct_checkjs', $_POST);
1561
 
1562
  $post_info['comment_type'] = 'feedback';
1563
  $post_info = json_encode($post_info);
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.7
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-47';
14
  $ct_plugin_name = 'Anti-spam by CleanTalk';
15
  $ct_checkjs_frm = 'ct_checkjs_frm';
16
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
917
 
918
  if (isset($data[$field_name])) {
919
  $js_post_value = $data[$field_name];
920
+
921
  //
922
  // Random key check
923
  //
1390
  $js_field_name = $k;
1391
  }
1392
 
1393
+ $checkjs = js_test($js_field_name, $_POST, true);
1394
 
1395
  $sender_info = array(
1396
  'sender_url' => @$form['comment_author_url']
1557
  if ($options['contact_forms_test'] == 0)
1558
  return $form_errors;
1559
 
1560
+ $checkjs = js_test('ct_checkjs', $_POST, true);
1561
 
1562
  $post_info['comment_type'] = 'feedback';
1563
  $post_info = json_encode($post_info);
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Anti-spam by CleanTalk (no CAPTCHA) ===
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, cf7, akismet
4
  Requires at least: 3.0
5
  Tested up to: 4.0
6
- Stable tag: 4.6
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -153,6 +153,9 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
153
  1. Anti spam stopped spam bot at the CAPTCHA less registration form.
154
 
155
  == Changelog ==
 
 
 
156
  = 4.6 2014-11-11 =
157
  * Improved anti spam protection on BuddyPress registrations.
158
  * Improved anti spam protection on contact forms.
@@ -429,6 +432,9 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
429
  * First version
430
 
431
  == Upgrade Notice ==
 
 
 
432
  = 4.6 2014-11-11 =
433
  Minor changes in anti spam logic for BuddyPress registrations, contact forms and bbPress guest posting.
434
 
1
  === Anti-spam by CleanTalk (no CAPTCHA) ===
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, cf7, akismet, capcha
4
  Requires at least: 3.0
5
  Tested up to: 4.0
6
+ Stable tag: 4.7
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
153
  1. Anti spam stopped spam bot at the CAPTCHA less registration form.
154
 
155
  == Changelog ==
156
+ = 4.7 2014-11-16 =
157
+ * Fixed JavaScript antispam test for FastSecure contact form.
158
+
159
  = 4.6 2014-11-11 =
160
  * Improved anti spam protection on BuddyPress registrations.
161
  * Improved anti spam protection on contact forms.
432
  * First version
433
 
434
  == Upgrade Notice ==
435
+ = 4.7 2014-11-16 =
436
+ Fixed JavaScript antispam test for FastSecure contact form.
437
+
438
  = 4.6 2014-11-11 =
439
  Minor changes in anti spam logic for BuddyPress registrations, contact forms and bbPress guest posting.
440