Newsletter - Version 5.6.6

Version Description

  • Fixed unsubscription two-steps process message
Download this release

Release Info

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

Code changes from version 5.6.5 to 5.6.6

main/smtp.php CHANGED
@@ -90,7 +90,7 @@ if (!$controls->is_action()) {
90
  }
91
 
92
  if (empty($controls->data['enabled']) && !empty($controls->data['host'])) {
93
- $controls->warnings[] = 'SMTP configured by NOT enabled.';
94
  }
95
  ?>
96
 
90
  }
91
 
92
  if (empty($controls->data['enabled']) && !empty($controls->data['host'])) {
93
+ $controls->warnings[] = 'SMTP configured but NOT enabled.';
94
  }
95
  ?>
96
 
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: 5.6.5
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.
@@ -14,7 +14,7 @@
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
- define('NEWSLETTER_VERSION', '5.6.5');
18
 
19
  global $newsletter, $wpdb;
20
 
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: 5.6.6
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.
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
+ define('NEWSLETTER_VERSION', '5.6.6');
18
 
19
  global $newsletter, $wpdb;
20
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated,mailing list
3
  Requires at least: 3.4.0
4
  Tested up to: 4.9.8
5
- Stable tag: 5.6.5
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -108,6 +108,10 @@ Thank you, The Newsletter Team
108
 
109
  == Changelog ==
110
 
 
 
 
 
111
  = 5.6.5 =
112
 
113
  * Fixed email validation message
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated,mailing list
3
  Requires at least: 3.4.0
4
  Tested up to: 4.9.8
5
+ Stable tag: 5.6.6
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
108
 
109
  == Changelog ==
110
 
111
+ = 5.6.6 =
112
+
113
+ * Fixed unsubscription two-steps process message
114
+
115
  = 5.6.5 =
116
 
117
  * Fixed email validation message
subscription/subscription.php CHANGED
@@ -170,6 +170,9 @@ class NewsletterSubscription extends NewsletterModule {
170
  if (stripos($text, 'http://') !== false || stripos($text, 'https://') !== false) {
171
  return true;
172
  }
 
 
 
173
  return false;
174
  }
175
 
170
  if (stripos($text, 'http://') !== false || stripos($text, 'https://') !== false) {
171
  return true;
172
  }
173
+ if (stripos($text, 'www.') !== false) {
174
+ return true;
175
+ }
176
  return false;
177
  }
178
 
unsubscription/unsubscription.php CHANGED
@@ -157,7 +157,7 @@ class NewsletterUnsubscription extends NewsletterModule {
157
  if (!$user) {
158
  return 'Subscriber not found.';
159
  }
160
- return $options['error_text'];
161
  }
162
  if ($key == 'unsubscribed') {
163
  if (!$user) {
157
  if (!$user) {
158
  return 'Subscriber not found.';
159
  }
160
+ return $options['unsubscribe_text'];
161
  }
162
  if ($key == 'unsubscribed') {
163
  if (!$user) {