Newsletter - Version 6.6.7

Version Description

  • Fixed a debug notice on image resize
Download this release

Release Info

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

Code changes from version 6.6.6 to 6.6.7

Files changed (3) hide show
  1. includes/helper.php +2 -1
  2. plugin.php +2 -2
  3. readme.txt +5 -1
includes/helper.php CHANGED
@@ -201,6 +201,8 @@ function tnp_resize($media_id, $size) {
201
  return null;
202
  }
203
 
 
 
204
  // Based on _wp_relative_upload_path() function for blog which store the
205
  // full patch of media files
206
  if (0 === strpos($relative_file, $uploads['basedir'])) {
@@ -215,7 +217,6 @@ function tnp_resize($media_id, $size) {
215
  $crop = (boolean) $size[2];
216
  }
217
 
218
- $uploads = wp_upload_dir();
219
  $absolute_file = $uploads['basedir'] . '/' . $relative_file;
220
  // Relative and absolute name of the thumbnail.
221
  $pathinfo = pathinfo($relative_file);
201
  return null;
202
  }
203
 
204
+ $uploads = wp_upload_dir();
205
+
206
  // Based on _wp_relative_upload_path() function for blog which store the
207
  // full patch of media files
208
  if (0 === strpos($relative_file, $uploads['basedir'])) {
217
  $crop = (boolean) $size[2];
218
  }
219
 
 
220
  $absolute_file = $uploads['basedir'] . '/' . $relative_file;
221
  // Relative and absolute name of the thumbnail.
222
  $pathinfo = pathinfo($relative_file);
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: 6.6.6
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.
@@ -35,7 +35,7 @@ if (version_compare(phpversion(), '5.6', '<')) {
35
  return;
36
  }
37
 
38
- define('NEWSLETTER_VERSION', '6.6.6');
39
 
40
  global $newsletter, $wpdb;
41
 
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: 6.6.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.
35
  return;
36
  }
37
 
38
+ define('NEWSLETTER_VERSION', '6.6.7');
39
 
40
  global $newsletter, $wpdb;
41
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: email, email marketing, newsletter, newsletter subscribers, welcome email, signup forms, contact, lead generation, popup, marketing automation
3
  Requires at least: 3.4.0
4
  Tested up to: 5.4.1
5
- Stable tag: 6.6.5
6
  Requires PHP: 5.6
7
  Contributors: satollo,webagile,michael-travan
8
 
@@ -109,6 +109,10 @@ Thank you, The Newsletter Team
109
 
110
  == Changelog ==
111
 
 
 
 
 
112
  = 6.6.6 =
113
 
114
  * Added check on submission for private lists (error shown only to administrator as debug information)
2
  Tags: email, email marketing, newsletter, newsletter subscribers, welcome email, signup forms, contact, lead generation, popup, marketing automation
3
  Requires at least: 3.4.0
4
  Tested up to: 5.4.1
5
+ Stable tag: 6.6.7
6
  Requires PHP: 5.6
7
  Contributors: satollo,webagile,michael-travan
8
 
109
 
110
  == Changelog ==
111
 
112
+ = 6.6.7 =
113
+
114
+ * Fixed a debug notice on image resize
115
+
116
  = 6.6.6 =
117
 
118
  * Added check on submission for private lists (error shown only to administrator as debug information)