Newsletter - Version 5.4.7

Version Description

  • Fixed pre-assigned lists
Download this release

Release Info

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

Code changes from version 5.4.6 to 5.4.7

includes/module.php CHANGED
@@ -956,6 +956,7 @@ class NewsletterModule {
956
  }
957
 
958
  /**
 
959
  *
960
  * @return TNP_List[]
961
  */
956
  }
957
 
958
  /**
959
+ * Lists to be shown on subscription form.
960
  *
961
  * @return TNP_List[]
962
  */
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.4.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,7 +14,7 @@
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
- define('NEWSLETTER_VERSION', '5.4.6');
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.4.7
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.4.7');
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.9.6
5
- Stable tag: 5.4.6
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -102,6 +102,10 @@ Thank you, The Newsletter Team
102
 
103
  == Changelog ==
104
 
 
 
 
 
105
  = 5.4.6 =
106
 
107
  * Fixed few debug notices
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.6
5
+ Stable tag: 5.4.7
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
102
 
103
  == Changelog ==
104
 
105
+ = 5.4.7 =
106
+
107
+ * Fixed pre-assigned lists
108
+
109
  = 5.4.6 =
110
 
111
  * Fixed few debug notices
subscription/subscription.php CHANGED
@@ -795,9 +795,10 @@ class NewsletterSubscription extends NewsletterModule {
795
  }
796
 
797
  // Forced lists
 
798
  foreach ($lists as $list) {
799
  if ($list->forced) {
800
- $user['list_' . $i] = 1;
801
  }
802
  }
803
 
795
  }
796
 
797
  // Forced lists
798
+ $lists = $this->get_lists();
799
  foreach ($lists as $list) {
800
  if ($list->forced) {
801
+ $user['list_' . $list->id] = 1;
802
  }
803
  }
804