Version Description
=
- Fix on email check
=
Download this release
Release Info
Developer | satollo |
Plugin | Newsletter |
Version | 5.1.1 |
Comparing to | |
See all releases |
Code changes from version 5.1.0 to 5.1.1
- includes/module.php +2 -2
- plugin.php +2 -2
- readme.txt +6 -1
includes/module.php
CHANGED
@@ -305,7 +305,7 @@ class NewsletterModule {
|
|
305 |
if (!is_email($email)) {
|
306 |
return null;
|
307 |
}
|
308 |
-
|
309 |
return $email;
|
310 |
}
|
311 |
|
@@ -326,7 +326,7 @@ class NewsletterModule {
|
|
326 |
static function is_email($email, $empty_ok = false) {
|
327 |
$email = strtolower(trim($email));
|
328 |
|
329 |
-
if ($email
|
330 |
return $empty_ok;
|
331 |
}
|
332 |
|
305 |
if (!is_email($email)) {
|
306 |
return null;
|
307 |
}
|
308 |
+
//$email = apply_filters('newsletter_normalize_email', $email);
|
309 |
return $email;
|
310 |
}
|
311 |
|
326 |
static function is_email($email, $empty_ok = false) {
|
327 |
$email = strtolower(trim($email));
|
328 |
|
329 |
+
if ($email == '') {
|
330 |
return $empty_ok;
|
331 |
}
|
332 |
|
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.1.
|
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.1.
|
18 |
|
19 |
global $wpdb, $newsletter;
|
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.1.1
|
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.1.1');
|
18 |
|
19 |
global $wpdb, $newsletter;
|
20 |
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated
|
3 |
Requires at least: 3.4.0
|
4 |
Tested up to: 4.8.2
|
5 |
-
Stable tag: 5.1.
|
6 |
Contributors: satollo,webagile,michael-travan
|
7 |
|
8 |
Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
|
@@ -85,6 +85,11 @@ Thank you, The Newsletter Team
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
|
|
|
|
88 |
== 5.1.0 ==
|
89 |
|
90 |
* "ncu" parameter can be used for alternative welcome page as well, not only confirmation, when single opt in is selected
|
2 |
Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated
|
3 |
Requires at least: 3.4.0
|
4 |
Tested up to: 4.8.2
|
5 |
+
Stable tag: 5.1.1
|
6 |
Contributors: satollo,webagile,michael-travan
|
7 |
|
8 |
Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
|
89 |
+
== 5.1.1 ==
|
90 |
+
|
91 |
+
* Fix on email check
|
92 |
+
|
93 |
== 5.1.0 ==
|
94 |
|
95 |
* "ncu" parameter can be used for alternative welcome page as well, not only confirmation, when single opt in is selected
|