Newsletter - Version 7.0.2

Version Description

  • Fixed media 2x resize
Download this release

Release Info

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

Code changes from version 7.0.1 to 7.0.2

Files changed (3) hide show
  1. includes/helper.php +1 -0
  2. plugin.php +2 -2
  3. readme.txt +5 -1
includes/helper.php CHANGED
@@ -294,6 +294,7 @@ function tnp_resize_2x($media_id, $size) {
294
  $size[0] = $size[0] * 2;
295
  $size[1] = $size[1] * 2;
296
  $media = tnp_resize($media_id, $size);
 
297
  $media->set_width( $size[0] / 2 );
298
  return $media;
299
  }
294
  $size[0] = $size[0] * 2;
295
  $size[1] = $size[1] * 2;
296
  $media = tnp_resize($media_id, $size);
297
+ if (!$media) return $media;
298
  $media->set_width( $size[0] / 2 );
299
  return $media;
300
  }
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.0.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.
@@ -35,7 +35,7 @@ if (version_compare(phpversion(), '5.6', '<')) {
35
  return;
36
  }
37
 
38
- define('NEWSLETTER_VERSION', '7.0.1');
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: 7.0.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.
35
  return;
36
  }
37
 
38
+ define('NEWSLETTER_VERSION', '7.0.2');
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.6
5
- Stable tag: 7.0.1
6
  Requires PHP: 5.6
7
  Contributors: satollo,webagile,michael-travan
8
  License: GPLv2 or later
@@ -118,6 +118,10 @@ Thank you, The Newsletter Team
118
 
119
  == Changelog ==
120
 
 
 
 
 
121
  = 7.0.1 =
122
 
123
  * Fixed enforced lists by language with Polylang
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.6
5
+ Stable tag: 7.0.2
6
  Requires PHP: 5.6
7
  Contributors: satollo,webagile,michael-travan
8
  License: GPLv2 or later
118
 
119
  == Changelog ==
120
 
121
+ = 7.0.2 =
122
+
123
+ * Fixed media 2x resize
124
+
125
  = 7.0.1 =
126
 
127
  * Fixed enforced lists by language with Polylang