Newsletter - Version 7.2.4

Version Description

  • Fixed the composer not starting for blog with SSL plugin but still HTTP configured on main WP settings
  • Changed labels on subscriber maintenance panel
  • Updated requirements for WP version
Download this release

Release Info

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

Code changes from version 7.2.3 to 7.2.4

emails/tnp-composer/index-v2.php CHANGED
@@ -215,7 +215,7 @@ $rev_dir = is_rtl() ? 'ltr' : 'rlt';
215
  tnp_preset_nonce = '<?php echo esc_js(wp_create_nonce('preset')) ?>';
216
  </script>
217
  <?php
218
- wp_enqueue_script('tnp-composer', NEWSLETTER_URL . '/emails/tnp-composer/_scripts/newsletter-builder-v2.js', ['tnp-modal', 'tnp-toast'], NEWSLETTER_VERSION);
219
  ?>
220
 
221
  <?php include NEWSLETTER_DIR . '/emails/subjects.php'; ?>
215
  tnp_preset_nonce = '<?php echo esc_js(wp_create_nonce('preset')) ?>';
216
  </script>
217
  <?php
218
+ wp_enqueue_script('tnp-composer', plugins_url('newsletter') . '/emails/tnp-composer/_scripts/newsletter-builder-v2.js', ['tnp-modal', 'tnp-toast'], NEWSLETTER_VERSION);
219
  ?>
220
 
221
  <?php include NEWSLETTER_DIR . '/emails/subjects.php'; ?>
includes/controls.php CHANGED
@@ -1910,7 +1910,7 @@ tnp_controls_init();
1910
  * @param string $label
1911
  */
1912
  static function help($url, $label = '') {
1913
- echo '<a href="', $url, '" target="_blank" title="', esc_attr($label), '"><i class="fas fa-question-circle-o"></i></a>';
1914
  }
1915
 
1916
  static function idea($url, $label = '') {
@@ -2051,7 +2051,7 @@ tnp_controls_init();
2051
  global $tnpc_show_subject;
2052
  $tnpc_show_subject = $show_subject;
2053
 
2054
- echo "<link href='" . plugins_url('newsletter') . "/emails/tnp-composer/_css/newsletter-builder-v2.css?ver=" . NEWSLETTER_VERSION . "' rel='stylesheet' type='text/css'>";
2055
 
2056
  $controls = $this;
2057
  include NEWSLETTER_DIR . '/emails/tnp-composer/index-v2.php';
@@ -2064,8 +2064,8 @@ tnp_controls_init();
2064
  echo '">';
2065
  echo '&nbsp;<i class="far fa-lightbulb tnp-suggest-subject" data-tnp-modal-target="#subject-ideas-modal"></i>';
2066
 
2067
- echo '<img src="', NEWSLETTER_URL, '/images/subject/android.png" style="position: absolute; width: 16px; left: 330px; top: 25px; display: block; opacity: 0">';
2068
- echo '<img src="', NEWSLETTER_URL, '/images/subject/iphone.png" style="position: absolute; width: 16px; left: 380px; top: 25px; display: block; opacity: 0">';
2069
  //echo '<img src="', NEWSLETTER_URL, '/images/subject/gmail.png" style="position: absolute; width: 16px; left: 400px; top: 25px; display: block; opacity: 0">';
2070
  echo '</div>';
2071
  }
1910
  * @param string $label
1911
  */
1912
  static function help($url, $label = '') {
1913
+ echo '<a href="', $url, '" target="_blank" title="', esc_attr($label), '"><i class="fas fa-question-circle"></i></a>';
1914
  }
1915
 
1916
  static function idea($url, $label = '') {
2051
  global $tnpc_show_subject;
2052
  $tnpc_show_subject = $show_subject;
2053
 
2054
+ echo "<link href='", plugins_url('newsletter'), "/emails/tnp-composer/_css/newsletter-builder-v2.css?ver=" . NEWSLETTER_VERSION . "' rel='stylesheet' type='text/css'>";
2055
 
2056
  $controls = $this;
2057
  include NEWSLETTER_DIR . '/emails/tnp-composer/index-v2.php';
2064
  echo '">';
2065
  echo '&nbsp;<i class="far fa-lightbulb tnp-suggest-subject" data-tnp-modal-target="#subject-ideas-modal"></i>';
2066
 
2067
+ echo '<img src="', plugins_url('newsletter'), '/images/subject/android.png" style="position: absolute; width: 16px; left: 330px; top: 25px; display: block; opacity: 0">';
2068
+ echo '<img src="', plugins_url('newsletter'), '/images/subject/iphone.png" style="position: absolute; width: 16px; left: 380px; top: 25px; display: block; opacity: 0">';
2069
  //echo '<img src="', NEWSLETTER_URL, '/images/subject/gmail.png" style="position: absolute; width: 16px; left: 400px; top: 25px; display: block; opacity: 0">';
2070
  echo '</div>';
2071
  }
plugin.php CHANGED
@@ -4,13 +4,13 @@
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.3
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.
11
  Text Domain: newsletter
12
  License: GPLv2 or later
13
- Requires at least: 3.4.0
14
  Requires PHP: 5.6
15
 
16
  Copyright 2009-2021 The Newsletter Team (email: info@thenewsletterplugin.com, web: https://www.thenewsletterplugin.com)
@@ -37,7 +37,7 @@ if (version_compare(phpversion(), '5.6', '<')) {
37
  return;
38
  }
39
 
40
- define('NEWSLETTER_VERSION', '7.2.3');
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.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.
11
  Text Domain: newsletter
12
  License: GPLv2 or later
13
+ Requires at least: 4.6
14
  Requires PHP: 5.6
15
 
16
  Copyright 2009-2021 The Newsletter Team (email: info@thenewsletterplugin.com, web: https://www.thenewsletterplugin.com)
37
  return;
38
  }
39
 
40
+ define('NEWSLETTER_VERSION', '7.2.4');
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
4
- Stable tag: 7.2.3
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,12 @@ Thank you, The Newsletter Team
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
 
121
  = 7.2.3 =
122
 
123
  * [COMPOSER] Added approx. indicators of the subsject visibile part in Apple and Android clients (experimental)
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
 
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
124
+ * Changed labels on subscriber maintenance panel
125
+ * Updated requirements for WP version
126
+
127
  = 7.2.3 =
128
 
129
  * [COMPOSER] Added approx. indicators of the subsject visibile part in Apple and Android clients (experimental)
users/massive.php CHANGED
@@ -140,7 +140,7 @@ if ($controls->is_action('update_inactive')) {
140
  </tr>
141
  </thead>
142
  <tr>
143
- <td><?php _e('Total collected emails', 'newsletter') ?></td>
144
  <td>
145
  <?php echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE); ?>
146
  </td>
@@ -190,7 +190,10 @@ if ($controls->is_action('update_inactive')) {
190
  </td>
191
  </tr>
192
  <tr>
193
- <td><?php _e('Inactive since', 'newsletter') ?></td>
 
 
 
194
  <td>
195
  <?php
196
  $controls->select('inactive_time', array(
@@ -208,7 +211,7 @@ if ($controls->is_action('update_inactive')) {
208
  '120' => '10 ' . __('years', 'newsletter')
209
  ))
210
  ?>
211
- to
212
  <?php $controls->lists_select('list_inactive'); ?>
213
 
214
  </td>
140
  </tr>
141
  </thead>
142
  <tr>
143
+ <td><?php _e('Total', 'newsletter') ?></td>
144
  <td>
145
  <?php echo $wpdb->get_var("select count(*) from " . NEWSLETTER_USERS_TABLE); ?>
146
  </td>
190
  </td>
191
  </tr>
192
  <tr>
193
+ <td>
194
+ <?php _e('Inactive since', 'newsletter') ?>
195
+ <?php $controls->field_help('https://www.thenewsletterplugin.com/documentation/subscribers-and-management/subscribers/#inactive')?>
196
+ </td>
197
  <td>
198
  <?php
199
  $controls->select('inactive_time', array(
211
  '120' => '10 ' . __('years', 'newsletter')
212
  ))
213
  ?>
214
+ add to
215
  <?php $controls->lists_select('list_inactive'); ?>
216
 
217
  </td>