Newsletter - Version 5.8.2

Version Description

  • Fixed shortcode check on dedicated page
Download this release

Release Info

Developer webagile
Plugin Icon 128x128 Newsletter
Version 5.8.2
Comparing to
See all releases

Code changes from version 5.8.1 to 5.8.2

Files changed (3) hide show
  1. plugin.php +2 -2
  2. readme.txt +10 -2
  3. tnp-header.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.8.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,7 +29,7 @@
29
  */
30
 
31
  // Used as dummy parameter on css and js links
32
- define('NEWSLETTER_VERSION', '5.8.1');
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.2
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.2');
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: 4.9.8
5
- Stable tag: 5.8.1
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -117,6 +117,14 @@ Thank you, The Newsletter Team
117
 
118
  == Changelog ==
119
 
 
 
 
 
 
 
 
 
120
  = 5.8.1 =
121
 
122
  * Delivery expected time indicator on status panel
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.0.0
5
+ Stable tag: 5.8.2
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
117
 
118
  == Changelog ==
119
 
120
+ = NEXT =
121
+
122
+ * Fixed a debug notice with PHP 7.2
123
+
124
+ = 5.8.2 =
125
+
126
+ * Fixed shortcode check on dedicated page
127
+
128
  = 5.8.1 =
129
 
130
  * Delivery expected time indicator on status panel
tnp-header.php CHANGED
@@ -166,7 +166,7 @@ $warning |= empty($status_options['mail']);
166
  // Check of Newsletter dedicated page
167
  if (!empty(Newsletter::instance()->options['page'])) {
168
  if (get_post_status(Newsletter::instance()->options['page']) === 'publish') {
169
- $content = get_post_field('post_content', $this->options['page']);
170
  // With and without attributes
171
  if (strpos($content, '[newsletter]') === false && strpos($content, '[newsletter ') === false) {
172
  ?>
166
  // Check of Newsletter dedicated page
167
  if (!empty(Newsletter::instance()->options['page'])) {
168
  if (get_post_status(Newsletter::instance()->options['page']) === 'publish') {
169
+ $content = get_post_field('post_content', Newsletter::instance()->options['page']);
170
  // With and without attributes
171
  if (strpos($content, '[newsletter]') === false && strpos($content, '[newsletter ') === false) {
172
  ?>