Newsletter - Version 5.4.0

Version Description

  • Fix lists as dropdown in the widget
Download this release

Release Info

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

Code changes from version 5.3.9 to 5.4.0

Files changed (4) hide show
  1. plugin.php +2 -2
  2. readme.txt +5 -1
  3. users/massive.php +10 -6
  4. widget/standard.php +3 -3
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.9
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.9');
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.0
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.0');
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.5
5
- Stable tag: 5.3.9
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.9 =
94
 
95
  * Version number fix
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.4.0
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.4.0 =
94
+
95
+ * Fix lists as dropdown in the widget
96
+
97
  = 5.3.9 =
98
 
99
  * Version number fix
users/massive.php CHANGED
@@ -284,11 +284,6 @@ if ($controls->is_action('bounces')) {
284
  <?php $controls->button_confirm('list_add', 'Activate for everyone', __('Are you sure?', 'newsletter')); ?>
285
  <?php $controls->button_confirm('list_remove', 'Deactivate for everyone', __('Are you sure?', 'newsletter')); ?>
286
  <?php $controls->button_confirm('list_delete', 'Delete everyone in that list', __('Are you sure?', 'newsletter')); ?>
287
- <br><br>
288
- <?php $controls->select('list_action', array('move' => 'Change', 'add' => 'Add')); ?>
289
- <?php _e('all subscribers in', 'newsletter') ?> <?php $controls->select('list_1', $lists); ?>
290
- <?php _e('to', 'newsletter') ?> <?php $controls->select('list_2', $lists); ?>
291
- <?php $controls->button_confirm('list_manage', 'Go!', 'Are you sure?'); ?>
292
  <p class="description">
293
  If you choose to <strong>delete</strong> users in a list, they will be
294
  <strong>physically deleted</strong> from the database (no way back).
@@ -298,7 +293,16 @@ if ($controls->is_action('bounces')) {
298
  <tr>
299
  <th>&nbsp;</th>
300
  <td>
301
- <?php _e('Add to list', 'newsletter') ?>
 
 
 
 
 
 
 
 
 
302
  <?php $controls->select('list_3', $lists) ?> <?php _e('subscribers without a list', 'newsletter') ?> <?php $controls->button_confirm('list_none', '&raquo;', __('Are you sure?', 'newsletter')); ?>
303
  </td>
304
  </tr>
284
  <?php $controls->button_confirm('list_add', 'Activate for everyone', __('Are you sure?', 'newsletter')); ?>
285
  <?php $controls->button_confirm('list_remove', 'Deactivate for everyone', __('Are you sure?', 'newsletter')); ?>
286
  <?php $controls->button_confirm('list_delete', 'Delete everyone in that list', __('Are you sure?', 'newsletter')); ?>
 
 
 
 
 
287
  <p class="description">
288
  If you choose to <strong>delete</strong> users in a list, they will be
289
  <strong>physically deleted</strong> from the database (no way back).
293
  <tr>
294
  <th>&nbsp;</th>
295
  <td>
296
+ <?php $controls->select('list_action', array('move' => 'Move', 'add' => 'Add')); ?>
297
+ <?php _e('all subscribers in', 'newsletter') ?> <?php $controls->select('list_1', $lists); ?>
298
+ <?php _e('to', 'newsletter') ?> <?php $controls->select('list_2', $lists); ?>
299
+ <?php $controls->button_confirm('list_manage', 'Go!', 'Are you sure?'); ?>
300
+ </td>
301
+ </tr>
302
+ <tr>
303
+ <th>&nbsp;</th>
304
+ <td>
305
+ <?php _e('Add to', 'newsletter') ?>
306
  <?php $controls->select('list_3', $lists) ?> <?php _e('subscribers without a list', 'newsletter') ?> <?php $controls->button_confirm('list_none', '&raquo;', __('Are you sure?', 'newsletter')); ?>
307
  </td>
308
  </tr>
widget/standard.php CHANGED
@@ -18,7 +18,7 @@ class NewsletterWidget extends WP_Widget {
18
 
19
  $instance = array_merge(array('lists_layout' => '',
20
  'lists_empty_label' => '',
21
- 'lists_field_label' => ''), $instance);
22
 
23
  $options_profile = get_option('newsletter_profile');
24
  //$form = NewsletterSubscription::instance()->get_form_javascript();
@@ -27,8 +27,8 @@ class NewsletterWidget extends WP_Widget {
27
  $form .= '<div class="tnp tnp-widget">';
28
  $form .= NewsletterSubscription::instance()->get_subscription_form_html5('widget', null, array(
29
  'list'=> implode(',', $instance['nl']),
30
- 'lists_layout' => $instance['lists_layout'],
31
- 'lists_empty_label' => $instance['lists_empty_label'],
32
  'lists_field_label' => $instance['lists_field_label'],
33
 
34
  ));
18
 
19
  $instance = array_merge(array('lists_layout' => '',
20
  'lists_empty_label' => '',
21
+ 'lists_label' => ''), $instance);
22
 
23
  $options_profile = get_option('newsletter_profile');
24
  //$form = NewsletterSubscription::instance()->get_form_javascript();
27
  $form .= '<div class="tnp tnp-widget">';
28
  $form .= NewsletterSubscription::instance()->get_subscription_form_html5('widget', null, array(
29
  'list'=> implode(',', $instance['nl']),
30
+ 'lists_field_layout' => $instance['lists_layout'],
31
+ 'lists_field_empty_label' => $instance['lists_empty_label'],
32
  'lists_field_label' => $instance['lists_field_label'],
33
 
34
  ));