Newsletter - Version 5.6.1

Version Description

Download this release

Release Info

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

Code changes from version 5.6.0 to 5.6.1

Files changed (4) hide show
  1. plugin.php +2 -2
  2. readme.txt +5 -1
  3. subscription/subscription.php +1 -2
  4. users/export.php +1 -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.6.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,7 +14,7 @@
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
- define('NEWSLETTER_VERSION', '5.6.0');
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.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.6.1');
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
3
  Requires at least: 3.4.0
4
  Tested up to: 4.9.7
5
- Stable tag: 5.6.0
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -107,6 +107,10 @@ Thank you, The Newsletter Team
107
 
108
  == Changelog ==
109
 
 
 
 
 
110
  = 5.6.0 =
111
 
112
  * Lists pre-assignment by language (no more need to customize the newsletter shortcode or duplicate the widgets)
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.7
5
+ Stable tag: 5.6.1
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
107
 
108
  == Changelog ==
109
 
110
+ = NEXT =
111
+
112
+ * Fix debug notice on profile URL when no privacy page is set on WP
113
+
114
  = 5.6.0 =
115
 
116
  * Lists pre-assignment by language (no more need to customize the newsletter shortcode or duplicate the widgets)
subscription/subscription.php CHANGED
@@ -795,7 +795,6 @@ class NewsletterSubscription extends NewsletterModule {
795
  $user['list_' . $list->id] = 1;
796
  }
797
  if (in_array($language, $list->languages)) {
798
- echo 'assegnato' . $list->id;
799
  $user['list_' . $list->id] = 1;
800
  }
801
  }
@@ -976,7 +975,7 @@ class NewsletterSubscription extends NewsletterModule {
976
 
977
  function get_privacy_url() {
978
  if (!$this->privacy_url) {
979
- if ($this->options_profile['privacy_use_wp_url'] && function_exists('get_privacy_policy_url')) {
980
  $this->privacy_url = get_privacy_policy_url();
981
  } else {
982
  $this->privacy_url = $this->options_profile['privacy_url'];
795
  $user['list_' . $list->id] = 1;
796
  }
797
  if (in_array($language, $list->languages)) {
 
798
  $user['list_' . $list->id] = 1;
799
  }
800
  }
975
 
976
  function get_privacy_url() {
977
  if (!$this->privacy_url) {
978
+ if (!empty($this->options_profile['privacy_use_wp_url']) && function_exists('get_privacy_policy_url')) {
979
  $this->privacy_url = get_privacy_policy_url();
980
  } else {
981
  $this->privacy_url = $this->options_profile['privacy_url'];
users/export.php CHANGED
@@ -37,7 +37,7 @@ $module = NewsletterUsers::instance();
37
  <tr>
38
  <th><?php _e('List', 'newsletter') ?></th>
39
  <td>
40
- <?php $controls->lists_select('list'); ?>
41
  </td>
42
  </tr>
43
  </table>
37
  <tr>
38
  <th><?php _e('List', 'newsletter') ?></th>
39
  <td>
40
+ <?php $controls->lists_select('list', __('All', 'newsletter')); ?>
41
  </td>
42
  </tr>
43
  </table>