Newsletter - Version 5.9.1

Version Description

  • Fixed language support on some shortcodes
Download this release

Release Info

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

Code changes from version 5.9.0 to 5.9.1

Files changed (3) hide show
  1. plugin.php +2 -2
  2. readme.txt +6 -2
  3. subscription/subscription.php +4 -0
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.9.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.
@@ -29,7 +29,7 @@
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
- define('NEWSLETTER_VERSION', '5.9.0');
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.9.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.
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
+ define('NEWSLETTER_VERSION', '5.9.1');
33
 
34
  global $newsletter, $wpdb;
35
 
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Newsletter ===
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.1
5
- Stable tag: 5.8.9
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -122,6 +122,10 @@ Thank you, The Newsletter Team
122
 
123
  == Changelog ==
124
 
 
 
 
 
125
  = 5.9.0 =
126
 
127
  * Fixes on privacy setting with multilanguage plugins
1
  === Newsletter ===
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.1.1
5
+ Stable tag: 5.9.1
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.9.1 =
126
+
127
+ * Fixed language support on some shortcodes
128
+
129
  = 5.9.0 =
130
 
131
  * Fixes on privacy setting with multilanguage plugins
subscription/subscription.php CHANGED
@@ -1054,6 +1054,10 @@ class NewsletterSubscription extends NewsletterModule {
1054
  $style = esc_attr($attrs['style']);
1055
  $buffer = '<form method="post" action="' . $action . '" class="' . $class . '" style="' . $style . '">' . "\n";
1056
 
 
 
 
 
1057
  if (isset($attrs['referrer'])) {
1058
  $buffer .= '<input type="hidden" name="nr" value="' . esc_attr($referrer) . '">' . "\n";
1059
  }
1054
  $style = esc_attr($attrs['style']);
1055
  $buffer = '<form method="post" action="' . $action . '" class="' . $class . '" style="' . $style . '">' . "\n";
1056
 
1057
+ $language = $this->get_current_language();
1058
+
1059
+ $buffer .= '<input type="hidden" name="nlang" value="' . esc_attr($language) . '">' . "\n";
1060
+
1061
  if (isset($attrs['referrer'])) {
1062
  $buffer .= '<input type="hidden" name="nr" value="' . esc_attr($referrer) . '">' . "\n";
1063
  }