Newsletter - Version 6.9.3

Version Description

  • Fixed profile saving spam check
Download this release

Release Info

Developer satollo
Plugin Icon 128x128 Newsletter
Version 6.9.3
Comparing to
See all releases

Code changes from version 6.9.2 to 6.9.3

Files changed (3) hide show
  1. plugin.php +2 -2
  2. profile/profile.php +6 -6
  3. readme.txt +5 -1
plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Newsletter
5
  Plugin URI: https://www.thenewsletterplugin.com/plugins/newsletter
6
  Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="https://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
- Version: 6.9.2
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: https://www.thenewsletterplugin.com
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
@@ -35,7 +35,7 @@ if (version_compare(phpversion(), '5.6', '<')) {
35
  return;
36
  }
37
 
38
- define('NEWSLETTER_VERSION', '6.9.2');
39
 
40
  global $newsletter, $wpdb;
41
 
4
  Plugin Name: Newsletter
5
  Plugin URI: https://www.thenewsletterplugin.com/plugins/newsletter
6
  Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="https://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
+ Version: 6.9.3
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: https://www.thenewsletterplugin.com
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
35
  return;
36
  }
37
 
38
+ define('NEWSLETTER_VERSION', '6.9.3');
39
 
40
  global $newsletter, $wpdb;
41
 
profile/profile.php CHANGED
@@ -393,15 +393,15 @@ class NewsletterProfile extends NewsletterModule {
393
  $data['email'] = $email;
394
  if (isset($_REQUEST['nn'])) {
395
  $data['name'] = $this->normalize_name(stripslashes($_REQUEST['nn']));
396
- if ($subscription_module->is_spam_text($data['name'])) {
397
- die();
398
- }
399
  }
400
  if (isset($_REQUEST['ns'])) {
401
  $data['surname'] = $this->normalize_name(stripslashes($_REQUEST['ns']));
402
- if ($subscription_module->is_spam_text($data['surname'])) {
403
- die();
404
- }
405
  }
406
  if ($options_profile['sex_status'] >= 1) {
407
  $data['sex'] = $_REQUEST['nx'][0];
393
  $data['email'] = $email;
394
  if (isset($_REQUEST['nn'])) {
395
  $data['name'] = $this->normalize_name(stripslashes($_REQUEST['nn']));
396
+ //if ($subscription_module->is_spam_text($data['name'])) {
397
+ // die();
398
+ //}
399
  }
400
  if (isset($_REQUEST['ns'])) {
401
  $data['surname'] = $this->normalize_name(stripslashes($_REQUEST['ns']));
402
+ //if ($subscription_module->is_spam_text($data['surname'])) {
403
+ // die();
404
+ //}
405
  }
406
  if ($options_profile['sex_status'] >= 1) {
407
  $data['sex'] = $_REQUEST['nx'][0];
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: email, email marketing, newsletter, newsletter subscribers, welcome email, signup forms, contact, lead generation, popup, marketing automation
3
  Requires at least: 3.4.0
4
  Tested up to: 5.5.1
5
- Stable tag: 6.9.2
6
  Requires PHP: 5.6
7
  Contributors: satollo,webagile,michael-travan
8
 
@@ -113,6 +113,10 @@ Thank you, The Newsletter Team
113
 
114
  == Changelog ==
115
 
 
 
 
 
116
  = 6.9.2 =
117
 
118
  * Fixed TNP::subscribe() error
2
  Tags: email, email marketing, newsletter, newsletter subscribers, welcome email, signup forms, contact, lead generation, popup, marketing automation
3
  Requires at least: 3.4.0
4
  Tested up to: 5.5.1
5
+ Stable tag: 6.9.3
6
  Requires PHP: 5.6
7
  Contributors: satollo,webagile,michael-travan
8
 
113
 
114
  == Changelog ==
115
 
116
+ = 6.9.3 =
117
+
118
+ * Fixed profile saving spam check
119
+
120
  = 6.9.2 =
121
 
122
  * Fixed TNP::subscribe() error