Spam protection, AntiSpam, FireWall by CleanTalk - Version 4.13

Version Description

2014-12-29 = * Fixed bug with autimatically aprovement not spam comments. Now this option disabled and do not override local WordPress policy.

Download this release

Release Info

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

Code changes from version 4.12 to 4.13

Files changed (2) hide show
  1. cleantalk.php +4 -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: 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';
@@ -288,7 +288,7 @@ function ct_def_options() {
288
  return array(
289
  'server' => 'http://moderate.cleantalk.org',
290
  'apikey' => __('enter key', 'cleantalk'),
291
- 'autoPubRevelantMess' => '1',
292
  'registrations_test' => '1',
293
  'comments_test' => '1',
294
  'contact_forms_test' => '1',
@@ -839,7 +839,6 @@ function ct_preprocess_comment($comment) {
839
  }
840
 
841
  ct_hash($ct_result->id);
842
-
843
  if ($ct_result->spam == 1) {
844
  add_filter('pre_comment_approved', 'ct_set_comment_spam');
845
 
@@ -857,7 +856,7 @@ function ct_preprocess_comment($comment) {
857
  // Change comment flow only for new authors
858
  if ((int) $approved_comments == 0 || $ct_result->stop_words !== null) {
859
 
860
- if ($ct_result->allow == 1 && $options['autoPubRevelantMess'] == 1) {
861
  add_filter('pre_comment_approved', 'ct_set_approved');
862
  setcookie($ct_approved_request_id_label, $ct_result->id, 0, '/');
863
  }
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.13
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-413';
14
  $ct_plugin_name = 'Anti-spam by CleanTalk';
15
  $ct_checkjs_frm = 'ct_checkjs_frm';
16
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
288
  return array(
289
  'server' => 'http://moderate.cleantalk.org',
290
  'apikey' => __('enter key', 'cleantalk'),
291
+ 'autoPubRevelantMess' => '0',
292
  'registrations_test' => '1',
293
  'comments_test' => '1',
294
  'contact_forms_test' => '1',
839
  }
840
 
841
  ct_hash($ct_result->id);
 
842
  if ($ct_result->spam == 1) {
843
  add_filter('pre_comment_approved', 'ct_set_comment_spam');
844
 
856
  // Change comment flow only for new authors
857
  if ((int) $approved_comments == 0 || $ct_result->stop_words !== null) {
858
 
859
+ if ($ct_result->allow == 1 && $options['autoPubRevelantMess'] == 1 && get_option('comment_moderation') !== '1') {
860
  add_filter('pre_comment_approved', 'ct_set_approved');
861
  setcookie($ct_approved_request_id_label, $ct_result->id, 0, '/');
862
  }
readme.txt CHANGED
@@ -3,11 +3,11 @@ 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.12
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Max power, all-in-one, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
11
 
12
  == Description ==
13
  No CAPTCHA, no questions, no counting animals, no puzzles, no math and no spam bots.
@@ -159,6 +159,9 @@ 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.12 2014-12-29 =
163
  * Fixed bug with 'Wrong Access key...' notice in WordPress dashboard.
164
  * Fixed filtration bug in WordPress dashboard login form.
@@ -460,6 +463,9 @@ WordPress 3.0 at least. PHP 4, 5 with CURL or file_get_contents() function and e
460
  * First version
461
 
462
  == Upgrade Notice ==
 
 
 
463
  = 4.12 2014-12-29 =
464
  Plugin backend minfor bug fixes.
465
 
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.13
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Max power, all-in-one, premium anti-spam plugin. No comment & registration spam, no contact spam, protects any forms. Just install and forget.
11
 
12
  == Description ==
13
  No CAPTCHA, no questions, no counting animals, no puzzles, no math and no spam bots.
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.13 2014-12-29 =
163
+ * Fixed bug with autimatically aprovement not spam comments. Now this option disabled and do not override local WordPress policy.
164
+
165
  = 4.12 2014-12-29 =
166
  * Fixed bug with 'Wrong Access key...' notice in WordPress dashboard.
167
  * Fixed filtration bug in WordPress dashboard login form.
463
  * First version
464
 
465
  == Upgrade Notice ==
466
+ = 4.13 2014-12-29 =
467
+ Not spam comments auto approvement bug fix.
468
+
469
  = 4.12 2014-12-29 =
470
  Plugin backend minfor bug fixes.
471