MailPoet Newsletters (New) - Version 3.34.4

Version Description

  • 2019-08-01 =
  • Fixed: database connection error with MariaDB and MySQL 8 users.
Download this release

Release Info

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

Code changes from version 3.34.3 to 3.34.4

lang/mailpoet-ar.mo CHANGED
Binary file
lang/mailpoet-ca.mo CHANGED
Binary file
lang/mailpoet-cs_CZ.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-es_MX.mo CHANGED
Binary file
lang/mailpoet-fr_FR.mo CHANGED
Binary file
lang/mailpoet-hu_HU.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-pt_BR.mo CHANGED
Binary file
lang/mailpoet-pt_PT.mo CHANGED
Binary file
lang/mailpoet-ro_RO.mo CHANGED
Binary file
lang/mailpoet-ru_RU.mo CHANGED
Binary file
lang/mailpoet-sq.mo CHANGED
Binary file
lang/mailpoet-sr_RS.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: 2019-07-31 14:00:59+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: 2019-08-01 12:38:52+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/Doctrine/ConnectionFactory.php CHANGED
@@ -43,7 +43,9 @@ class ConnectionFactory {
43
  $driver_options = [
44
  "@@session.time_zone = '$timezone_offset'",
45
  '@@session.sql_mode = REPLACE(@@sql_mode, "ONLY_FULL_GROUP_BY", "")',
46
- "@@session.wait_timeout = GREATEST(@@wait_timeout, $this->min_wait_timeout)",
 
 
47
  ];
48
 
49
  if (!empty(Env::$db_charset)) {
43
  $driver_options = [
44
  "@@session.time_zone = '$timezone_offset'",
45
  '@@session.sql_mode = REPLACE(@@sql_mode, "ONLY_FULL_GROUP_BY", "")',
46
+ // We need to use CONVERT for MySQL 8, Maria DB bug which triggers #1232 - Incorrect argument type to variable 'wait_timeout`
47
+ // https://stackoverflow.com/questions/35187378/mariadb-type-error-when-setting-session-variable
48
+ "@@session.wait_timeout = GREATEST(CONVERT(COALESCE(@@wait_timeout, 0), SIGNED), $this->min_wait_timeout)",
49
  ];
50
 
51
  if (!empty(Env::$db_charset)) {
mailpoet.php CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) exit;
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (New)
7
- * Version: 3.34.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
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) exit;
18
  */
19
 
20
  $mailpoet_plugin = array(
21
- 'version' => '3.34.3',
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.34.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
18
  */
19
 
20
  $mailpoet_plugin = array(
21
+ 'version' => '3.34.4',
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.2
6
- Stable tag: 3.34.3
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -147,6 +147,9 @@ Stop by our [support site](https://www.mailpoet.com/support).
147
 
148
  == Changelog ==
149
 
 
 
 
150
  = 3.34.3 - 2019-07-31 =
151
  * Fixed: some users were experiencing a database issue after latest update.
152
 
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.2
6
+ Stable tag: 3.34.4
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
147
 
148
  == Changelog ==
149
 
150
+ = 3.34.4 - 2019-08-01 =
151
+ * Fixed: database connection error with MariaDB and MySQL 8 users.
152
+
153
  = 3.34.3 - 2019-07-31 =
154
  * Fixed: some users were experiencing a database issue after latest update.
155
 
vendor-prefixed/autoload.php CHANGED
@@ -4,4 +4,4 @@ namespace MailPoetVendor;
4
 
5
  // autoload.php @generated by Composer
6
  require_once __DIR__ . '/composer/autoload_real.php';
7
- return \MailPoetVendor\ComposerAutoloaderInit9eed6b412569213074f68d82442d0ea5::getLoader();
4
 
5
  // autoload.php @generated by Composer
6
  require_once __DIR__ . '/composer/autoload_real.php';
7
+ return \MailPoetVendor\ComposerAutoloaderInitdb533b038d553c1d9385aac708408fa4::getLoader();
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInite2e63f3399eee59b1f5c182a139254da::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit3d132f30143ba4496bb43480feb17628::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInite2e63f3399eee59b1f5c182a139254da
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInite2e63f3399eee59b1f5c182a139254da
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInite2e63f3399eee59b1f5c182a139254da', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInite2e63f3399eee59b1f5c182a139254da', '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\ComposerStaticInite2e63f3399eee59b1f5c182a139254da::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInite2e63f3399eee59b1f5c182a139254da
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInite2e63f3399eee59b1f5c182a139254da::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequiree2e63f3399eee59b1f5c182a139254da($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequiree2e63f3399eee59b1f5c182a139254da($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 ComposerAutoloaderInit3d132f30143ba4496bb43480feb17628
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit3d132f30143ba4496bb43480feb17628', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit3d132f30143ba4496bb43480feb17628', '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\ComposerStaticInit3d132f30143ba4496bb43480feb17628::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\ComposerStaticInit3d132f30143ba4496bb43480feb17628::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire3d132f30143ba4496bb43480feb17628($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire3d132f30143ba4496bb43480feb17628($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 ComposerStaticInite2e63f3399eee59b1f5c182a139254da
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@@ -1333,10 +1333,10 @@ class ComposerStaticInite2e63f3399eee59b1f5c182a139254da
1333
  public static function getInitializer(ClassLoader $loader)
1334
  {
1335
  return \Closure::bind(function () use ($loader) {
1336
- $loader->prefixLengthsPsr4 = ComposerStaticInite2e63f3399eee59b1f5c182a139254da::$prefixLengthsPsr4;
1337
- $loader->prefixDirsPsr4 = ComposerStaticInite2e63f3399eee59b1f5c182a139254da::$prefixDirsPsr4;
1338
- $loader->fallbackDirsPsr4 = ComposerStaticInite2e63f3399eee59b1f5c182a139254da::$fallbackDirsPsr4;
1339
- $loader->classMap = ComposerStaticInite2e63f3399eee59b1f5c182a139254da::$classMap;
1340
 
1341
  }, null, ClassLoader::class);
1342
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit3d132f30143ba4496bb43480feb17628
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
1333
  public static function getInitializer(ClassLoader $loader)
1334
  {
1335
  return \Closure::bind(function () use ($loader) {
1336
+ $loader->prefixLengthsPsr4 = ComposerStaticInit3d132f30143ba4496bb43480feb17628::$prefixLengthsPsr4;
1337
+ $loader->prefixDirsPsr4 = ComposerStaticInit3d132f30143ba4496bb43480feb17628::$prefixDirsPsr4;
1338
+ $loader->fallbackDirsPsr4 = ComposerStaticInit3d132f30143ba4496bb43480feb17628::$fallbackDirsPsr4;
1339
+ $loader->classMap = ComposerStaticInit3d132f30143ba4496bb43480feb17628::$classMap;
1340
 
1341
  }, null, ClassLoader::class);
1342
  }