Spam protection, AntiSpam, FireWall by CleanTalk - Version 5.58.2

Version Description

February 17 2017 = * Cron fix for daily report.

Download this release

Release Info

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

Code changes from version 5.58.1 to 5.58.2

Files changed (3) hide show
  1. cleantalk.php +8 -7
  2. inc/cleantalk-admin.php +2 -5
  3. readme.txt +8 -2
cleantalk.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Spam Protection by CleanTalk
4
  Plugin URI: http://cleantalk.org
5
  Description: Max power, all-in-one, no Captcha, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms. Formerly Anti-Spam by CleanTalk.
6
- Version: 5.58.1
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
- $cleantalk_plugin_version='5.58.1';
11
- $ct_agent_version = 'wordpress-5581';
12
  $cleantalk_executed=false;
13
  $ct_sfw_updated = false;
14
 
@@ -660,13 +660,14 @@ function ct_send_sfw_log()
660
  // Sends daily report from get_antispam_report method
661
  function cleantalk_send_daily_report(){
662
 
663
- $do_send = get_option('cleantalk_sends_reports_till');
 
664
 
665
  // If 7 days is over
666
- if((int)$do_send < time()){
667
-
 
668
  wp_clear_scheduled_hook( 'cleantalk_send_daily_report_hook' );
669
-
670
  return;
671
  }
672
 
3
  Plugin Name: Spam Protection by CleanTalk
4
  Plugin URI: http://cleantalk.org
5
  Description: Max power, all-in-one, no Captcha, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms. Formerly Anti-Spam by CleanTalk.
6
+ Version: 5.58.2
7
  Author: СleanTalk <welcome@cleantalk.org>
8
  Author URI: http://cleantalk.org
9
  */
10
+ $cleantalk_plugin_version='5.58.2';
11
+ $ct_agent_version = 'wordpress-5582';
12
  $cleantalk_executed=false;
13
  $ct_sfw_updated = false;
14
 
660
  // Sends daily report from get_antispam_report method
661
  function cleantalk_send_daily_report(){
662
 
663
+
664
+ $timestamp_trial_ends = get_option('cleantalk_sends_reports_till');
665
 
666
  // If 7 days is over
667
+ if($timestamp_trial_ends === false){
668
+ return;
669
+ }elseif((int)$timestamp_trial_ends < time()){
670
  wp_clear_scheduled_hook( 'cleantalk_send_daily_report_hook' );
 
671
  return;
672
  }
673
 
inc/cleantalk-admin.php CHANGED
@@ -1644,17 +1644,14 @@ if (!function_exists ( 'ct_register_plugin_links')) {
1644
  function ct_register_plugin_links($links, $file) {
1645
  global $ct_plugin_basename;
1646
  if ($file == $ct_plugin_basename ) {
 
1647
  if(!is_network_admin())
1648
- {
1649
  $links[] = '<a href="options-general.php?page=cleantalk">' . __( 'Settings' ) . '</a>';
1650
- }
1651
  else
1652
- {
1653
  $links[] = '<a href="settings.php?page=cleantalk">' . __( 'Settings' ) . '</a>';
1654
- }
1655
 
1656
  $links[] = '<a href="http://wordpress.org/plugins/cleantalk-spam-protect/faq/" target="_blank">' . __( 'FAQ','cleantalk' ) . '</a>';
1657
- $links[] = '<a href="http://cleantalk.org/forum" target="_blank">' . __( 'Support','cleantalk' ) . '</a>';
1658
  }
1659
  return $links;
1660
  }
1644
  function ct_register_plugin_links($links, $file) {
1645
  global $ct_plugin_basename;
1646
  if ($file == $ct_plugin_basename ) {
1647
+
1648
  if(!is_network_admin())
 
1649
  $links[] = '<a href="options-general.php?page=cleantalk">' . __( 'Settings' ) . '</a>';
 
1650
  else
 
1651
  $links[] = '<a href="settings.php?page=cleantalk">' . __( 'Settings' ) . '</a>';
 
1652
 
1653
  $links[] = '<a href="http://wordpress.org/plugins/cleantalk-spam-protect/faq/" target="_blank">' . __( 'FAQ','cleantalk' ) . '</a>';
1654
+ $links[] = '<a href="https://community.cleantalk.org/" target="_blank">' . __( 'Support','cleantalk' ) . '</a>';
1655
  }
1656
  return $links;
1657
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: znaeff, shagimuratov, serge00, sartemd174
3
  Tags: spam, anti-spam, antispam, anti spam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spammers, spammy, woocommerce, wordpress spam, subscription, gravity spam, jetpack, bots, contact form 7, contact form, registrations, ninja, Fast Secure Contact, Gravity forms, formidable, mailchimp, s2member, protection, protect, email, plugin, contact, recaptcha, google captcha, google recaptcha, blacklist, prevent spam comments, wordpress, User Frontend, bulk delete, bulk remove, widget, review, firewall, cleantalk, mailpoet, profile builder, comment spam, registration spam, spam comments, comment moderation, spam bots, block spam, signup spam, spam blocker, spam filter, user registration spam,pingback,trackback, anti-spam plugin, varnish, amp, spam free, userpro,honeypot,puzzle,quiz,survey,poll,security, amo forms, caldera forms, visual form builder, contact form clean and simple
4
  Requires at least: 3.0
5
  Tested up to: 4.7.2
6
- Stable tag: 5.58.1
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -486,6 +486,9 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
486
  1. The Dashboard with a map of most spam active countries per your account.
487
 
488
  == Changelog ==
 
 
 
489
  = 5.58.1 February 16 2017 =
490
  * Minor fixes.
491
 
@@ -1244,8 +1247,11 @@ WordPress 3.0 at least. PHP 5 with CURL or file_get_contents() function and enab
1244
 
1245
  = 1.1.0 =
1246
  * First version
1247
-
1248
  == Upgrade Notice ==
 
 
 
1249
  = 5.58.1 February 16 2017 =
1250
  * Minor fixes.
1251
 
3
  Tags: spam, anti-spam, antispam, anti spam, bbpress, buddypress, captcha, capcha, captha, catcha, cf7 spam, comments, contact form spam, signup, spammers, spammy, woocommerce, wordpress spam, subscription, gravity spam, jetpack, bots, contact form 7, contact form, registrations, ninja, Fast Secure Contact, Gravity forms, formidable, mailchimp, s2member, protection, protect, email, plugin, contact, recaptcha, google captcha, google recaptcha, blacklist, prevent spam comments, wordpress, User Frontend, bulk delete, bulk remove, widget, review, firewall, cleantalk, mailpoet, profile builder, comment spam, registration spam, spam comments, comment moderation, spam bots, block spam, signup spam, spam blocker, spam filter, user registration spam,pingback,trackback, anti-spam plugin, varnish, amp, spam free, userpro,honeypot,puzzle,quiz,survey,poll,security, amo forms, caldera forms, visual form builder, contact form clean and simple
4
  Requires at least: 3.0
5
  Tested up to: 4.7.2
6
+ Stable tag: 5.58.2
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
486
  1. The Dashboard with a map of most spam active countries per your account.
487
 
488
  == Changelog ==
489
+ = 5.58.2 February 17 2017 =
490
+ * Cron fix for daily report.
491
+
492
  = 5.58.1 February 16 2017 =
493
  * Minor fixes.
494
 
1247
 
1248
  = 1.1.0 =
1249
  * First version
1250
+
1251
  == Upgrade Notice ==
1252
+ = 5.58.2 February 17 2017 =
1253
+ * Cron fix for daily report.
1254
+
1255
  = 5.58.1 February 16 2017 =
1256
  * Minor fixes.
1257