MailPoet Newsletters (New) - Version 3.17.1

Version Description

  • 2018-12-19 =
  • Fixed: premium plugin crash; Thanks, Sebastian!
Download this release

Release Info

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

Code changes from version 3.17.0 to 3.17.1

lang/mailpoet-ca.mo CHANGED
Binary file
lang/mailpoet-da_DK.mo CHANGED
Binary file
lang/mailpoet-de_DE.mo CHANGED
Binary file
lang/mailpoet-el.mo CHANGED
Binary file
lang/mailpoet-es_ES.mo CHANGED
Binary file
lang/mailpoet-fa_IR.mo CHANGED
Binary file
lang/mailpoet-fr_CA.mo CHANGED
Binary file
lang/mailpoet-fr_FR.mo CHANGED
Binary file
lang/mailpoet-it_IT.mo CHANGED
Binary file
lang/mailpoet-ja.mo CHANGED
Binary file
lang/mailpoet-nb_NO.mo CHANGED
Binary file
lang/mailpoet-nl_NL.mo CHANGED
Binary file
lang/mailpoet-pl_PL.mo CHANGED
Binary file
lang/mailpoet-pt_BR.mo CHANGED
Binary file
lang/mailpoet-pt_PT.mo CHANGED
Binary file
lang/mailpoet-ru_RU.mo CHANGED
Binary file
lang/mailpoet-sq.mo CHANGED
Binary file
lang/mailpoet-sv_SE.mo CHANGED
Binary file
lang/mailpoet-tr_TR.mo CHANGED
Binary file
lang/mailpoet-zh_CN.mo CHANGED
Binary file
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: 2018-12-18 13:36:01+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: 2018-12-19 12:39:27+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
lib/DI/ContainerWrapper.php CHANGED
@@ -40,6 +40,9 @@ class ContainerWrapper implements ContainerInterface {
40
  * @return ContainerInterface|null
41
  */
42
  function getPremiumContainer() {
 
 
 
43
  return $this->premium_container;
44
  }
45
 
@@ -51,12 +54,17 @@ class ContainerWrapper implements ContainerInterface {
51
  $free_container = $free_container_factory->getContainer();
52
  $premium_container = null;
53
  if(class_exists(\MailPoet\Premium\DI\ContainerConfigurator::class)) {
54
- $premium_container_factory = new ContainerFactory(new \MailPoet\Premium\DI\ContainerConfigurator($free_container), $debug);
55
- $premium_container = $premium_container_factory->getContainer();
56
- $premium_container->set(IContainerConfigurator::FREE_CONTAINER_SERVICE_SLUG, $free_container);
57
- $free_container->set(IContainerConfigurator::PREMIUM_CONTAINER_SERVICE_SLUG, $premium_container);
58
  }
59
  self::$instance = new ContainerWrapper($free_container, $premium_container);
60
  return self::$instance;
61
  }
 
 
 
 
 
 
 
 
62
  }
40
  * @return ContainerInterface|null
41
  */
42
  function getPremiumContainer() {
43
+ if(!$this->premium_container && class_exists(\MailPoet\Premium\DI\ContainerConfigurator::class)) {
44
+ $this->premium_container = self::createPremiumContainer($this->free_container);
45
+ }
46
  return $this->premium_container;
47
  }
48
 
54
  $free_container = $free_container_factory->getContainer();
55
  $premium_container = null;
56
  if(class_exists(\MailPoet\Premium\DI\ContainerConfigurator::class)) {
57
+ $premium_container = self::createPremiumContainer($free_container, $debug);
 
 
 
58
  }
59
  self::$instance = new ContainerWrapper($free_container, $premium_container);
60
  return self::$instance;
61
  }
62
+
63
+ private static function createPremiumContainer(ContainerInterface $free_container, $debug = false) {
64
+ $premium_container_factory = new ContainerFactory(new \MailPoet\Premium\DI\ContainerConfigurator($free_container), $debug);
65
+ $premium_container = $premium_container_factory->getContainer();
66
+ $premium_container->set(IContainerConfigurator::FREE_CONTAINER_SERVICE_SLUG, $free_container);
67
+ $free_container->set(IContainerConfigurator::PREMIUM_CONTAINER_SERVICE_SLUG, $premium_container);
68
+ return $premium_container;
69
+ }
70
  }
mailpoet.php CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (New)
7
- * Version: 3.17.0
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
@@ -18,7 +18,7 @@ if(!defined('ABSPATH')) exit;
18
  */
19
 
20
  $mailpoet_plugin = array(
21
- 'version' => '3.17.0',
22
  'filename' => __FILE__,
23
  'path' => dirname(__FILE__),
24
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (New)
7
+ * Version: 3.17.1
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
18
  */
19
 
20
  $mailpoet_plugin = array(
21
+ 'version' => '3.17.1',
22
  'filename' => __FILE__,
23
  'path' => dirname(__FILE__),
24
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mailpoet, wysija
3
  Tags: email marketing, newsletter, newsletter subscribers, email, welcome email, post notification, WooCommerce emails, newsletter builder
4
  Requires at least: 4.7
5
  Tested up to: 5.0
6
- Stable tag: 3.17.0
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -169,6 +169,9 @@ Stop by our [support site](https://www.mailpoet.com/support).
169
 
170
  == Changelog ==
171
 
 
 
 
172
  = 3.17.0 - 2018-12-18 =
173
  * Added: new in-app announcements sidebar. Click the carrot to see;
174
  * Added: option to toggle between desktop and mobile in Preview in Browser;
3
  Tags: email marketing, newsletter, newsletter subscribers, email, welcome email, post notification, WooCommerce emails, newsletter builder
4
  Requires at least: 4.7
5
  Tested up to: 5.0
6
+ Stable tag: 3.17.1
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
169
 
170
  == Changelog ==
171
 
172
+ = 3.17.1 - 2018-12-19 =
173
+ * Fixed: premium plugin crash; Thanks, Sebastian!
174
+
175
  = 3.17.0 - 2018-12-18 =
176
  * Added: new in-app announcements sidebar. Click the carrot to see;
177
  * Added: option to toggle between desktop and mobile in Preview in Browser;
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit91afb540960cac604d7b9502af0be86b::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit05a549b77ed6e23cb0a7bc318591051f::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit91afb540960cac604d7b9502af0be86b
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit91afb540960cac604d7b9502af0be86b
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit91afb540960cac604d7b9502af0be86b', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit91afb540960cac604d7b9502af0be86b', '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\ComposerStaticInit91afb540960cac604d7b9502af0be86b::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit91afb540960cac604d7b9502af0be86b
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit91afb540960cac604d7b9502af0be86b::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire91afb540960cac604d7b9502af0be86b($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire91afb540960cac604d7b9502af0be86b($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 ComposerAutoloaderInit05a549b77ed6e23cb0a7bc318591051f
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit05a549b77ed6e23cb0a7bc318591051f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit05a549b77ed6e23cb0a7bc318591051f', '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\ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f::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\ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire05a549b77ed6e23cb0a7bc318591051f($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire05a549b77ed6e23cb0a7bc318591051f($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 ComposerStaticInit91afb540960cac604d7b9502af0be86b
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@@ -407,11 +407,11 @@ class ComposerStaticInit91afb540960cac604d7b9502af0be86b
407
  public static function getInitializer(ClassLoader $loader)
408
  {
409
  return \Closure::bind(function () use ($loader) {
410
- $loader->prefixLengthsPsr4 = ComposerStaticInit91afb540960cac604d7b9502af0be86b::$prefixLengthsPsr4;
411
- $loader->prefixDirsPsr4 = ComposerStaticInit91afb540960cac604d7b9502af0be86b::$prefixDirsPsr4;
412
- $loader->fallbackDirsPsr4 = ComposerStaticInit91afb540960cac604d7b9502af0be86b::$fallbackDirsPsr4;
413
- $loader->prefixesPsr0 = ComposerStaticInit91afb540960cac604d7b9502af0be86b::$prefixesPsr0;
414
- $loader->classMap = ComposerStaticInit91afb540960cac604d7b9502af0be86b::$classMap;
415
 
416
  }, null, ClassLoader::class);
417
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
407
  public static function getInitializer(ClassLoader $loader)
408
  {
409
  return \Closure::bind(function () use ($loader) {
410
+ $loader->prefixLengthsPsr4 = ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f::$prefixLengthsPsr4;
411
+ $loader->prefixDirsPsr4 = ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f::$prefixDirsPsr4;
412
+ $loader->fallbackDirsPsr4 = ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f::$fallbackDirsPsr4;
413
+ $loader->prefixesPsr0 = ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f::$prefixesPsr0;
414
+ $loader->classMap = ComposerStaticInit05a549b77ed6e23cb0a7bc318591051f::$classMap;
415
 
416
  }, null, ClassLoader::class);
417
  }