Newsletter - Version 5.8.8

Version Description

  • Fixed multilanguage text for newsletter page

  • Fixed a profile panel debug notice

Download this release

Release Info

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

Code changes from version 5.8.7 to 5.8.8

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.8.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.
@@ -29,7 +29,7 @@
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
- define('NEWSLETTER_VERSION', '5.8.7');
33
 
34
  global $newsletter, $wpdb;
35
 
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.8.8
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.
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
+ define('NEWSLETTER_VERSION', '5.8.8');
33
 
34
  global $newsletter, $wpdb;
35
 
profile/profile.php CHANGED
@@ -298,7 +298,7 @@ class NewsletterProfile extends NewsletterModule {
298
  $buffer .= "</div>\n";
299
  }
300
 
301
- $local_options = $this->get_options($sub, $this->get_user_language($user));
302
 
303
  // Privacy
304
  $privacy_url = NewsletterSubscription::instance()->get_privacy_url();
298
  $buffer .= "</div>\n";
299
  }
300
 
301
+ $local_options = $this->get_options('', $this->get_user_language($user));
302
 
303
  // Privacy
304
  $privacy_url = NewsletterSubscription::instance()->get_privacy_url();
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated,mailing list
3
  Requires at least: 3.4.0
4
  Tested up to: 5.0.3
5
- Stable tag: 5.8.7
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -122,7 +122,13 @@ Thank you, The Newsletter Team
122
 
123
  == Changelog ==
124
 
125
- = 5.8.6 =
 
 
 
 
 
 
126
 
127
  * Tags replacement even on template for messages
128
  * Fixed profile page labels translation
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated,mailing list
3
  Requires at least: 3.4.0
4
  Tested up to: 5.0.3
5
+ Stable tag: 5.8.8
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
122
 
123
  == Changelog ==
124
 
125
+ = 5.8.8 =
126
+
127
+ * Fixed multilanguage text for newsletter page
128
+
129
+ * Fixed a profile panel debug notice
130
+
131
+ = 5.8.7 =
132
 
133
  * Tags replacement even on template for messages
134
  * Fixed profile page labels translation
subscription/options.php CHANGED
@@ -267,7 +267,7 @@ if ($controls->is_action()) {
267
  <?php _e('Welcome email', 'newsletter') ?>
268
  </th>
269
  <td>
270
- <?php $controls->email('confirmed', 'wordpress', true); ?>
271
  <br>
272
  <?php $controls->button('test-confirmed', 'Send a test'); ?>
273
  </td>
267
  <?php _e('Welcome email', 'newsletter') ?>
268
  </th>
269
  <td>
270
+ <?php $controls->email('confirmed', 'wordpress', $is_all_languages); ?>
271
  <br>
272
  <?php $controls->button('test-confirmed', 'Send a test'); ?>
273
  </td>
subscription/subscription.php CHANGED
@@ -1691,7 +1691,7 @@ class NewsletterSubscription extends NewsletterModule {
1691
 
1692
  $message = apply_filters('newsletter_page_text', '', $message_key, $user);
1693
 
1694
- $options = $this->get_options('', $this->get_user_language($user));
1695
 
1696
  if (empty($message)) {
1697
  $message = $options[$message_key . '_text'];
1691
 
1692
  $message = apply_filters('newsletter_page_text', '', $message_key, $user);
1693
 
1694
+ $options = $this->get_options('', $this->get_current_language($user));
1695
 
1696
  if (empty($message)) {
1697
  $message = $options[$message_key . '_text'];
subscription/template.php CHANGED
@@ -19,10 +19,6 @@ if (!$controls->is_action()) {
19
  if ($controls->is_action('save')) {
20
  $module->save_options($controls->data, 'template', null, $current_language);
21
 
22
- if (strpos($controls->data['template'], '{message}') === false) {
23
- $controls->errors = __('The tag {message} is missing in your template', 'newsletter');
24
- }
25
-
26
  $controls->add_message_saved();
27
  }
28
 
@@ -60,6 +56,10 @@ if (!$controls->is_action()) {
60
  }
61
  }
62
  }
 
 
 
 
63
  ?>
64
 
65
  <?php include NEWSLETTER_INCLUDES_DIR . '/codemirror.php'; ?>
19
  if ($controls->is_action('save')) {
20
  $module->save_options($controls->data, 'template', null, $current_language);
21
 
 
 
 
 
22
  $controls->add_message_saved();
23
  }
24
 
56
  }
57
  }
58
  }
59
+
60
+ if (strpos($controls->data['template'], '{message}') === false) {
61
+ $controls->errors = __('The tag {message} is missing in your template', 'newsletter');
62
+ }
63
  ?>
64
 
65
  <?php include NEWSLETTER_INCLUDES_DIR . '/codemirror.php'; ?>
unsubscription/index.php CHANGED
@@ -81,7 +81,7 @@ if (!$controls->is_action()) {
81
  <tr>
82
  <th><?php _e('Goodbye email', 'newsletter') ?></th>
83
  <td>
84
- <?php $controls->email('unsubscribed', 'wordpress', true, array('editor_height'=>250)); ?>
85
  <p class="description">
86
 
87
  </p>
81
  <tr>
82
  <th><?php _e('Goodbye email', 'newsletter') ?></th>
83
  <td>
84
+ <?php $controls->email('unsubscribed', 'wordpress', $is_all_languages, array('editor_height'=>250)); ?>
85
  <p class="description">
86
 
87
  </p>