Spam protection, AntiSpam, FireWall by CleanTalk - Version 4.20

Version Description

2015-03-03 = * Added German, Italian, Polish, Portuguese translations. * Minor code fixes.

Download this release

Release Info

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

Code changes from version 4.19 to 4.20

cleantalk-admin.php CHANGED
@@ -18,7 +18,7 @@ function ct_enqueue_scripts($hook) {
18
  * Admin action 'admin_menu' - Add the admin options page
19
  */
20
  function ct_admin_add_page() {
21
- add_options_page(__('CleanTalk settings', 'cleantalk'), '<b style="color: #49C73B;">Clean</b><b style="color: #349ebf;">Talk</b>', 'manage_options', 'cleantalk', 'ct_settings_page');
22
  }
23
 
24
  /**
18
  * Admin action 'admin_menu' - Add the admin options page
19
  */
20
  function ct_admin_add_page() {
21
+ add_options_page(__('CleanTalk settings', 'cleantalk'), 'CleanTalk', 'manage_options', 'cleantalk', 'ct_settings_page');
22
  }
23
 
24
  /**
cleantalk-common.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- $ct_agent_version = 'wordpress-419';
4
  $ct_plugin_name = 'Anti-spam by CleanTalk';
5
  $ct_checkjs_frm = 'ct_checkjs_frm';
6
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
1
  <?php
2
 
3
+ $ct_agent_version = 'wordpress-420';
4
  $ct_plugin_name = 'Anti-spam by CleanTalk';
5
  $ct_checkjs_frm = 'ct_checkjs_frm';
6
  $ct_checkjs_register_form = 'ct_checkjs_register_form';
cleantalk-public.php CHANGED
@@ -996,7 +996,8 @@ function ct_registration_errors($errors, $sanitized_user_login = null, $user_ema
996
  if ($buddypress === true) {
997
  $bp->signup->errors['signup_username'] = $ct_result->comment;
998
  } else {
999
- $errors->add('ct_error', $ct_result->comment);
 
1000
  $ct_negative_comment = $ct_result->comment;
1001
  }
1002
  } else {
996
  if ($buddypress === true) {
997
  $bp->signup->errors['signup_username'] = $ct_result->comment;
998
  } else {
999
+ if(is_wp_error($errors))
1000
+ $errors->add('ct_error', $ct_result->comment);
1001
  $ct_negative_comment = $ct_result->comment;
1002
  }
1003
  } else {
cleantalk.php CHANGED
@@ -3,7 +3,7 @@
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.19
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
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.20
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
i18n/cleantalk-de_DE.mo ADDED
Binary file
i18n/cleantalk-it_IT.mo ADDED
Binary file
i18n/cleantalk-pl_PL.mo ADDED
Binary file
i18n/cleantalk-pt_PT.mo ADDED
Binary file
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: znaeff, shagimuratov
3
  Tags: akismet, anti-spam, antispam, bbpress spam, buddypress spam, 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 spam, signup spam, spam, spammers, spammy, WooCommerce spam, wordpress spam, booking spam, order spam, subscriptions spam, comments, gravity spam, gravity forms spam
4
  Requires at least: 3.0
5
  Tested up to: 4.1.1
6
- Stable tag: 4.19
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -158,9 +158,13 @@ Spam bots can not pass through the anti-spam CleanTalk, complex invisible checks
158
  WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enabled 'allow_url_fopen' setting. <a href="http://cleantalk.org/register?platform=wordpress">Sign up</a> to get an Access key.
159
 
160
  = Translations =
161
- * Spain (es_ES) - thanks to Andrew Kurtis and <a href="http://www.webhostinghub.com/index-c.html">WebHostingHub</a>
162
  * Danish (da_DK)
163
  * French (fr_FR)
 
 
 
 
 
164
  * Russian (ru_RU)
165
 
166
  == Screenshots ==
@@ -171,6 +175,10 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
171
  1. Setup Android/iOS app to have push notices when new legitiamte comments/registrations or contactcs appears on the website.
172
 
173
  == Changelog ==
 
 
 
 
174
  = 4.19 2015-02-24 =
175
  * Increased keys lifetime for JS spam test.
176
 
@@ -505,6 +513,9 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
505
  * First version
506
 
507
  == Upgrade Notice ==
 
 
 
508
  = 4.19 2015-02-24 =
509
  Increased JS keys lifetime.
510
 
3
  Tags: akismet, anti-spam, antispam, bbpress spam, buddypress spam, 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 spam, signup spam, spam, spammers, spammy, WooCommerce spam, wordpress spam, booking spam, order spam, subscriptions spam, comments, gravity spam, gravity forms spam
4
  Requires at least: 3.0
5
  Tested up to: 4.1.1
6
+ Stable tag: 4.20
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
158
  WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enabled 'allow_url_fopen' setting. <a href="http://cleantalk.org/register?platform=wordpress">Sign up</a> to get an Access key.
159
 
160
  = Translations =
 
161
  * Danish (da_DK)
162
  * French (fr_FR)
163
+ * German (de_DE)
164
+ * Italian (it_IT)
165
+ * Polish (pl_PL)
166
+ * Portuguese (pt_PT)
167
+ * Spanish (es_ES) - thanks to Andrew Kurtis and <a href="http://www.webhostinghub.com/index-c.html">WebHostingHub</a>
168
  * Russian (ru_RU)
169
 
170
  == Screenshots ==
175
  1. Setup Android/iOS app to have push notices when new legitiamte comments/registrations or contactcs appears on the website.
176
 
177
  == Changelog ==
178
+ = 4.20 2015-03-03 =
179
+ * Added German, Italian, Polish, Portuguese translations.
180
+ * Minor code fixes.
181
+
182
  = 4.19 2015-02-24 =
183
  * Increased keys lifetime for JS spam test.
184
 
513
  * First version
514
 
515
  == Upgrade Notice ==
516
+ = 4.20 2015-03-03 =
517
+ German, Italian, Polish, Portuguese translations, minor code fixes.
518
+
519
  = 4.19 2015-02-24 =
520
  Increased JS keys lifetime.
521