MailPoet Newsletters (New) - Version 3.0.4

Version Description

  • 2017-10-05 =
  • Fixed: dividers and spacers' height can be changed on mouse drag again;
Download this release

Release Info

Developer wysija
Plugin Icon 128x128 MailPoet Newsletters (New)
Version 3.0.4
Comparing to
See all releases

Code changes from version 3.0.3 to 3.0.4

assets/js/{admin_vendor.09e16337.js → admin_vendor.6c010053.js} RENAMED
@@ -32918,7 +32918,7 @@ webpackJsonp([1],[
32918
  // If it is focus event or called by ReactTooltip.show, switch to `solid` effect
32919
  var switchToSolid = e instanceof window.FocusEvent || isGlobalCall;
32920
 
32921
- // if it need to skip adding hide listener to scroll
32922
  var scrollHide = true;
32923
  if (e.currentTarget.getAttribute('data-scroll-hide')) {
32924
  scrollHide = e.currentTarget.getAttribute('data-scroll-hide') === 'true';
@@ -32986,17 +32986,15 @@ webpackJsonp([1],[
32986
  if (isEmptyTip || disable) return; // if the tooltip is empty, disable the tooltip
32987
  var updateState = function updateState() {
32988
  if (Array.isArray(placeholder) && placeholder.length > 0 || placeholder) {
32989
- (function () {
32990
- var isInvisible = !_this6.state.show;
32991
- _this6.setState({
32992
- currentEvent: e,
32993
- currentTarget: eventTarget,
32994
- show: true
32995
- }, function () {
32996
- _this6.updatePosition();
32997
- if (isInvisible && afterShow) afterShow();
32998
- });
32999
- })();
33000
  }
33001
  };
33002
 
@@ -33645,7 +33643,8 @@ webpackJsonp([1],[
33645
 
33646
 
33647
  if (result && outsideHorizontal().result) {
33648
- return { result: false }; // No need to change, if change to vertical will out of space
 
33649
  }
33650
  if (!result && getTipOffsetLeft('left') < 0 && getTipOffsetRight('right') <= windowWidth) {
33651
  result = true; // If vertical ok, but let out of side and right won't out of side
@@ -33659,7 +33658,8 @@ webpackJsonp([1],[
33659
  newPlace = _outsideVertical2.newPlace;
33660
 
33661
  if (result && outsideHorizontal().result) {
33662
- return { result: false }; // No need to change, if change to vertical will out of space
 
33663
  }
33664
  if (!result && getTipOffsetRight('right') > windowWidth && getTipOffsetLeft('left') >= 0) {
33665
  result = true;
32918
  // If it is focus event or called by ReactTooltip.show, switch to `solid` effect
32919
  var switchToSolid = e instanceof window.FocusEvent || isGlobalCall;
32920
 
32921
+ // if it needs to skip adding hide listener to scroll
32922
  var scrollHide = true;
32923
  if (e.currentTarget.getAttribute('data-scroll-hide')) {
32924
  scrollHide = e.currentTarget.getAttribute('data-scroll-hide') === 'true';
32986
  if (isEmptyTip || disable) return; // if the tooltip is empty, disable the tooltip
32987
  var updateState = function updateState() {
32988
  if (Array.isArray(placeholder) && placeholder.length > 0 || placeholder) {
32989
+ var isInvisible = !_this6.state.show;
32990
+ _this6.setState({
32991
+ currentEvent: e,
32992
+ currentTarget: eventTarget,
32993
+ show: true
32994
+ }, function () {
32995
+ _this6.updatePosition();
32996
+ if (isInvisible && afterShow) afterShow();
32997
+ });
 
 
32998
  }
32999
  };
33000
 
33643
 
33644
 
33645
  if (result && outsideHorizontal().result) {
33646
+ return { result: false // No need to change, if change to vertical will out of space
33647
+ };
33648
  }
33649
  if (!result && getTipOffsetLeft('left') < 0 && getTipOffsetRight('right') <= windowWidth) {
33650
  result = true; // If vertical ok, but let out of side and right won't out of side
33658
  newPlace = _outsideVertical2.newPlace;
33659
 
33660
  if (result && outsideHorizontal().result) {
33661
+ return { result: false // No need to change, if change to vertical will out of space
33662
+ };
33663
  }
33664
  if (!result && getTipOffsetRight('right') > windowWidth && getTipOffsetLeft('left') >= 0) {
33665
  result = true;
assets/js/{mailpoet.eab93337.js → mailpoet.0fdbdb38.js} RENAMED
@@ -40123,7 +40123,7 @@ webpackJsonp([3],[
40123
  // If it is focus event or called by ReactTooltip.show, switch to `solid` effect
40124
  var switchToSolid = e instanceof window.FocusEvent || isGlobalCall;
40125
 
40126
- // if it need to skip adding hide listener to scroll
40127
  var scrollHide = true;
40128
  if (e.currentTarget.getAttribute('data-scroll-hide')) {
40129
  scrollHide = e.currentTarget.getAttribute('data-scroll-hide') === 'true';
@@ -40191,17 +40191,15 @@ webpackJsonp([3],[
40191
  if (isEmptyTip || disable) return; // if the tooltip is empty, disable the tooltip
40192
  var updateState = function updateState() {
40193
  if (Array.isArray(placeholder) && placeholder.length > 0 || placeholder) {
40194
- (function () {
40195
- var isInvisible = !_this6.state.show;
40196
- _this6.setState({
40197
- currentEvent: e,
40198
- currentTarget: eventTarget,
40199
- show: true
40200
- }, function () {
40201
- _this6.updatePosition();
40202
- if (isInvisible && afterShow) afterShow();
40203
- });
40204
- })();
40205
  }
40206
  };
40207
 
@@ -40850,7 +40848,8 @@ webpackJsonp([3],[
40850
 
40851
 
40852
  if (result && outsideHorizontal().result) {
40853
- return { result: false }; // No need to change, if change to vertical will out of space
 
40854
  }
40855
  if (!result && getTipOffsetLeft('left') < 0 && getTipOffsetRight('right') <= windowWidth) {
40856
  result = true; // If vertical ok, but let out of side and right won't out of side
@@ -40864,7 +40863,8 @@ webpackJsonp([3],[
40864
  newPlace = _outsideVertical2.newPlace;
40865
 
40866
  if (result && outsideHorizontal().result) {
40867
- return { result: false }; // No need to change, if change to vertical will out of space
 
40868
  }
40869
  if (!result && getTipOffsetRight('right') > windowWidth && getTipOffsetLeft('left') >= 0) {
40870
  result = true;
40123
  // If it is focus event or called by ReactTooltip.show, switch to `solid` effect
40124
  var switchToSolid = e instanceof window.FocusEvent || isGlobalCall;
40125
 
40126
+ // if it needs to skip adding hide listener to scroll
40127
  var scrollHide = true;
40128
  if (e.currentTarget.getAttribute('data-scroll-hide')) {
40129
  scrollHide = e.currentTarget.getAttribute('data-scroll-hide') === 'true';
40191
  if (isEmptyTip || disable) return; // if the tooltip is empty, disable the tooltip
40192
  var updateState = function updateState() {
40193
  if (Array.isArray(placeholder) && placeholder.length > 0 || placeholder) {
40194
+ var isInvisible = !_this6.state.show;
40195
+ _this6.setState({
40196
+ currentEvent: e,
40197
+ currentTarget: eventTarget,
40198
+ show: true
40199
+ }, function () {
40200
+ _this6.updatePosition();
40201
+ if (isInvisible && afterShow) afterShow();
40202
+ });
 
 
40203
  }
40204
  };
40205
 
40848
 
40849
 
40850
  if (result && outsideHorizontal().result) {
40851
+ return { result: false // No need to change, if change to vertical will out of space
40852
+ };
40853
  }
40854
  if (!result && getTipOffsetLeft('left') < 0 && getTipOffsetRight('right') <= windowWidth) {
40855
  result = true; // If vertical ok, but let out of side and right won't out of side
40863
  newPlace = _outsideVertical2.newPlace;
40864
 
40865
  if (result && outsideHorizontal().result) {
40866
+ return { result: false // No need to change, if change to vertical will out of space
40867
+ };
40868
  }
40869
  if (!result && getTipOffsetRight('right') > windowWidth && getTipOffsetLeft('left') >= 0) {
40870
  result = true;
assets/js/manifest.json CHANGED
@@ -2,9 +2,9 @@
2
  "mp2migrator.js": "mp2migrator.e755af46.js",
3
  "public.js": "public.6e3f442a.js",
4
  "admin.js": "admin.5545d8c1.js",
5
- "admin_vendor.js": "admin_vendor.09e16337.js",
6
  "form_editor.js": "form_editor.c4bc7e0b.js",
7
- "mailpoet.js": "mailpoet.eab93337.js",
8
- "newsletter_editor.js": "newsletter_editor.ea5d61a2.js",
9
- "vendor.js": "vendor.2ec824f0.js"
10
  }
2
  "mp2migrator.js": "mp2migrator.e755af46.js",
3
  "public.js": "public.6e3f442a.js",
4
  "admin.js": "admin.5545d8c1.js",
5
+ "admin_vendor.js": "admin_vendor.6c010053.js",
6
  "form_editor.js": "form_editor.c4bc7e0b.js",
7
+ "mailpoet.js": "mailpoet.0fdbdb38.js",
8
+ "newsletter_editor.js": "newsletter_editor.29b8231c.js",
9
+ "vendor.js": "vendor.3c88b878.js"
10
  }
assets/js/{newsletter_editor.ea5d61a2.js → newsletter_editor.29b8231c.js} RENAMED
@@ -34082,12 +34082,13 @@ webpackJsonp([4],{
34082
  defaults: {
34083
  elementSelector: null,
34084
  resizeHandleSelector: true, // true will use edges of the element itself
 
34085
  minLength: 0,
34086
  maxLength: Infinity,
34087
  modelField: 'styles.block.height',
34088
  onResize: function (event) {
34089
  var currentLength = parseFloat(this.view.model.get(this.options.modelField)),
34090
- newLength = currentLength + event.y;
34091
  newLength = Math.min(this.options.maxLength, Math.max(this.options.minLength, newLength));
34092
  this.view.model.set(this.options.modelField, newLength + 'px');
34093
  }
34082
  defaults: {
34083
  elementSelector: null,
34084
  resizeHandleSelector: true, // true will use edges of the element itself
34085
+ transformationFunction: function (y) { return y; }, // for blocks that use the default onResize function
34086
  minLength: 0,
34087
  maxLength: Infinity,
34088
  modelField: 'styles.block.height',
34089
  onResize: function (event) {
34090
  var currentLength = parseFloat(this.view.model.get(this.options.modelField)),
34091
+ newLength = currentLength + this.options.transformationFunction(event.dy);
34092
  newLength = Math.min(this.options.maxLength, Math.max(this.options.minLength, newLength));
34093
  this.view.model.set(this.options.modelField, newLength + 'px');
34094
  }
assets/js/{vendor.2ec824f0.js → vendor.3c88b878.js} RENAMED
@@ -76,7 +76,7 @@
76
  /******/ script.charset = 'utf-8';
77
  /******/ script.async = true;
78
 
79
- /******/ script.src = __webpack_require__.p + "" + ({"0":"admin","1":"admin_vendor","2":"form_editor","3":"mailpoet","4":"newsletter_editor"}[chunkId]||chunkId) + "." + {"0":"5545d8c1","1":"09e16337","2":"c4bc7e0b","3":"eab93337","4":"ea5d61a2"}[chunkId] + ".chunk.js";
80
  /******/ head.appendChild(script);
81
  /******/ }
82
  /******/ };
76
  /******/ script.charset = 'utf-8';
77
  /******/ script.async = true;
78
 
79
+ /******/ script.src = __webpack_require__.p + "" + ({"0":"admin","1":"admin_vendor","2":"form_editor","3":"mailpoet","4":"newsletter_editor"}[chunkId]||chunkId) + "." + {"0":"5545d8c1","1":"6c010053","2":"c4bc7e0b","3":"0fdbdb38","4":"29b8231c"}[chunkId] + ".chunk.js";
80
  /******/ head.appendChild(script);
81
  /******/ }
82
  /******/ };
lang/mailpoet.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
7
- "POT-Creation-Date: 2017-10-03 18:15:09+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
7
+ "POT-Creation-Date: 2017-10-05 11:47:37+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
mailpoet.php CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (new)
7
- * Version: 3.0.3
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
@@ -20,7 +20,7 @@ if(!defined('ABSPATH')) exit;
20
  */
21
 
22
  $mailpoet_plugin = array(
23
- 'version' => '3.0.3',
24
  'filename' => __FILE__,
25
  'path' => dirname(__FILE__),
26
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (new)
7
+ * Version: 3.0.4
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
20
  */
21
 
22
  $mailpoet_plugin = array(
23
+ 'version' => '3.0.4',
24
  'filename' => __FILE__,
25
  'path' => dirname(__FILE__),
26
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: newsletter, email, welcome email, post notification, autoresponder, signup
4
  Requires at least: 4.6
5
  Tested up to: 4.8
6
  Requires PHP: 5.3
7
- Stable tag: 3.0.3
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -114,6 +114,9 @@ Stop by our [support site](https://www.mailpoet.com/support).
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 3.0.3 - 2017-10-03 =
118
  * Fixed: mixed collation error in WordPress user synchronization. Thanks Chris, Till, Robin, Robero, @Seph, @kaiwen and others for the reports!
119
 
4
  Requires at least: 4.6
5
  Tested up to: 4.8
6
  Requires PHP: 5.3
7
+ Stable tag: 3.0.4
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
114
 
115
  == Changelog ==
116
 
117
+ = 3.0.4 - 2017-10-05 =
118
+ * Fixed: dividers and spacers' height can be changed on mouse drag again;
119
+
120
  = 3.0.3 - 2017-10-03 =
121
  * Fixed: mixed collation error in WordPress user synchronization. Thanks Chris, Till, Robin, Robero, @Seph, @kaiwen and others for the reports!
122
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit14e1b34abe9a0813b25977c3a4677778::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitf2ac8e42169d67a330e26bf73a90dd9b::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit14e1b34abe9a0813b25977c3a4677778
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit14e1b34abe9a0813b25977c3a4677778
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit14e1b34abe9a0813b25977c3a4677778', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit14e1b34abe9a0813b25977c3a4677778', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit14e1b34abe9a0813b25977c3a4677778::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit14e1b34abe9a0813b25977c3a4677778
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit14e1b34abe9a0813b25977c3a4677778::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire14e1b34abe9a0813b25977c3a4677778($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire14e1b34abe9a0813b25977c3a4677778($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitf2ac8e42169d67a330e26bf73a90dd9b
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitf2ac8e42169d67a330e26bf73a90dd9b', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitf2ac8e42169d67a330e26bf73a90dd9b', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitf2ac8e42169d67a330e26bf73a90dd9b::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInitf2ac8e42169d67a330e26bf73a90dd9b::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequiref2ac8e42169d67a330e26bf73a90dd9b($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequiref2ac8e42169d67a330e26bf73a90dd9b($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit14e1b34abe9a0813b25977c3a4677778
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@@ -836,10 +836,10 @@ class ComposerStaticInit14e1b34abe9a0813b25977c3a4677778
836
  public static function getInitializer(ClassLoader $loader)
837
  {
838
  return \Closure::bind(function () use ($loader) {
839
- $loader->prefixLengthsPsr4 = ComposerStaticInit14e1b34abe9a0813b25977c3a4677778::$prefixLengthsPsr4;
840
- $loader->prefixDirsPsr4 = ComposerStaticInit14e1b34abe9a0813b25977c3a4677778::$prefixDirsPsr4;
841
- $loader->prefixesPsr0 = ComposerStaticInit14e1b34abe9a0813b25977c3a4677778::$prefixesPsr0;
842
- $loader->classMap = ComposerStaticInit14e1b34abe9a0813b25977c3a4677778::$classMap;
843
 
844
  }, null, ClassLoader::class);
845
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitf2ac8e42169d67a330e26bf73a90dd9b
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
836
  public static function getInitializer(ClassLoader $loader)
837
  {
838
  return \Closure::bind(function () use ($loader) {
839
+ $loader->prefixLengthsPsr4 = ComposerStaticInitf2ac8e42169d67a330e26bf73a90dd9b::$prefixLengthsPsr4;
840
+ $loader->prefixDirsPsr4 = ComposerStaticInitf2ac8e42169d67a330e26bf73a90dd9b::$prefixDirsPsr4;
841
+ $loader->prefixesPsr0 = ComposerStaticInitf2ac8e42169d67a330e26bf73a90dd9b::$prefixesPsr0;
842
+ $loader->classMap = ComposerStaticInitf2ac8e42169d67a330e26bf73a90dd9b::$classMap;
843
 
844
  }, null, ClassLoader::class);
845
  }