Newsletter - Version 7.2.5

Version Description

  • Fixed subject not saved under specific circumstance
Download this release

Release Info

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

Code changes from version 7.2.4 to 7.2.5

emails/tnp-composer/_scripts/newsletter-builder-v2.js CHANGED
@@ -385,7 +385,7 @@ function tnpc_save(form) {
385
  form.elements["options[options_preheader]"].value = "";
386
  }
387
  if (document.getElementById("options-subject")) {
388
- form.elements["options[subject]"].value = jQuery('#options-subject').val();
389
  } else {
390
  form.elements["options[subject]"].value = "";
391
  }
385
  form.elements["options[options_preheader]"].value = "";
386
  }
387
  if (document.getElementById("options-subject")) {
388
+ form.elements["options[subject]"].value = jQuery('#options-subject-subject').val();
389
  } else {
390
  form.elements["options[subject]"].value = "";
391
  }
includes/controls.php CHANGED
@@ -2059,7 +2059,8 @@ tnp_controls_init();
2059
 
2060
  function subject($name) {
2061
  $value = $this->get_value($name);
2062
- echo '<div style="position: relative"><input size="80" id="options-', esc_attr($name), '" name="options[' . esc_attr($name) . ']" type="text" placeholder="" value="';
 
2063
  echo esc_attr($value);
2064
  echo '">';
2065
  echo '&nbsp;<i class="far fa-lightbulb tnp-suggest-subject" data-tnp-modal-target="#subject-ideas-modal"></i>';
2059
 
2060
  function subject($name) {
2061
  $value = $this->get_value($name);
2062
+ // Leave the ID with this prefix!
2063
+ echo '<div style="position: relative"><input size="80" id="options-subject-', esc_attr($name), '" name="options[' . esc_attr($name) . ']" type="text" placeholder="" value="';
2064
  echo esc_attr($value);
2065
  echo '">';
2066
  echo '&nbsp;<i class="far fa-lightbulb tnp-suggest-subject" data-tnp-modal-target="#subject-ideas-modal"></i>';
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: 7.2.4
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.
@@ -37,7 +37,7 @@ if (version_compare(phpversion(), '5.6', '<')) {
37
  return;
38
  }
39
 
40
- define('NEWSLETTER_VERSION', '7.2.4');
41
 
42
  global $newsletter, $wpdb;
43
 
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: 7.2.5
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.
37
  return;
38
  }
39
 
40
+ define('NEWSLETTER_VERSION', '7.2.5');
41
 
42
  global $newsletter, $wpdb;
43
 
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Newsletter ===
2
  Tags: newsletter, email marketing, welcome email, signup forms, contact, lead generation, marketing automation
3
  Tested up to: 5.8.1
4
- Stable tag: 7.2.4
5
  Contributors: satollo,webagile,michael-travan
6
  License: GPLv2 or later
7
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -118,6 +118,10 @@ Thank you, The Newsletter Team
118
 
119
  == Changelog ==
120
 
 
 
 
 
121
  = 7.2.4 =
122
 
123
  * Fixed the composer not starting for blog with SSL plugin but still HTTP configured on main WP settings
1
  === Newsletter ===
2
  Tags: newsletter, email marketing, welcome email, signup forms, contact, lead generation, marketing automation
3
  Tested up to: 5.8.1
4
+ Stable tag: 7.2.5
5
  Contributors: satollo,webagile,michael-travan
6
  License: GPLv2 or later
7
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
118
 
119
  == Changelog ==
120
 
121
+ = 7.2.5 =
122
+
123
+ * Fixed subject not saved under specific circumstance
124
+
125
  = 7.2.4 =
126
 
127
  * Fixed the composer not starting for blog with SSL plugin but still HTTP configured on main WP settings