Version Description
- Fixed error notice on profile.php
Download this release
Release Info
Developer | satollo |
Plugin | Newsletter |
Version | 5.3.5 |
Comparing to | |
See all releases |
Code changes from version 5.3.4 to 5.3.5
- plugin.php +2 -2
- profile/profile.php +2 -1
- 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: 5.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.
|
@@ -14,7 +14,7 @@
|
|
14 |
*/
|
15 |
|
16 |
// Used as dummy parameter on css and js links
|
17 |
-
define('NEWSLETTER_VERSION', '5.3.
|
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.3.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 |
*/
|
15 |
|
16 |
// Used as dummy parameter on css and js links
|
17 |
+
define('NEWSLETTER_VERSION', '5.3.5');
|
18 |
|
19 |
global $wpdb, $newsletter;
|
20 |
|
profile/profile.php
CHANGED
@@ -73,6 +73,8 @@ class NewsletterProfile extends NewsletterModule {
|
|
73 |
}
|
74 |
|
75 |
function hook_newsletter_replace($text, $user, $email) {
|
|
|
|
|
76 |
$profile_options = NewsletterSubscription::instance()->get_options('profile');
|
77 |
|
78 |
// Profile edit page URL and link
|
@@ -84,7 +86,6 @@ class NewsletterProfile extends NewsletterModule {
|
|
84 |
$url = $this->get_profile_export_url($user);
|
85 |
$text = $this->replace_url($text, 'PROFILE_EXPORT_URL', $url);
|
86 |
$text = str_replace('{profile_export_link}', '<a class="tnp-profile-export-link" href="' . $url . '">' . $profile_options['profile_export'] . '</a>', $text);
|
87 |
-
|
88 |
return $text;
|
89 |
}
|
90 |
|
73 |
}
|
74 |
|
75 |
function hook_newsletter_replace($text, $user, $email) {
|
76 |
+
if (!$user) return $text;
|
77 |
+
|
78 |
$profile_options = NewsletterSubscription::instance()->get_options('profile');
|
79 |
|
80 |
// Profile edit page URL and link
|
86 |
$url = $this->get_profile_export_url($user);
|
87 |
$text = $this->replace_url($text, 'PROFILE_EXPORT_URL', $url);
|
88 |
$text = str_replace('{profile_export_link}', '<a class="tnp-profile-export-link" href="' . $url . '">' . $profile_options['profile_export'] . '</a>', $text);
|
|
|
89 |
return $text;
|
90 |
}
|
91 |
|
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.9.5
|
5 |
-
Stable tag: 5.3.
|
6 |
Contributors: satollo,webagile,michael-travan
|
7 |
|
8 |
Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
|
@@ -90,6 +90,10 @@ Thank you, The Newsletter Team
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
|
|
|
|
|
|
|
|
93 |
= 5.3.4 =
|
94 |
|
95 |
* GDPR ready
|
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.9.5
|
5 |
+
Stable tag: 5.3.5
|
6 |
Contributors: satollo,webagile,michael-travan
|
7 |
|
8 |
Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
+
= 5.3.5 =
|
94 |
+
|
95 |
+
* Fixed error notice on profile.php
|
96 |
+
|
97 |
= 5.3.4 =
|
98 |
|
99 |
* GDPR ready
|