Compare commits
3 Commits
update-plu
...
3.34.4
Author | SHA1 | Date | |
---|---|---|---|
d4b1509886 | |||
ef669ebb38 | |||
68bb0f98a1 |
@ -43,7 +43,9 @@ class ConnectionFactory {
|
|||||||
$driver_options = [
|
$driver_options = [
|
||||||
"@@session.time_zone = '$timezone_offset'",
|
"@@session.time_zone = '$timezone_offset'",
|
||||||
'@@session.sql_mode = REPLACE(@@sql_mode, "ONLY_FULL_GROUP_BY", "")',
|
'@@session.sql_mode = REPLACE(@@sql_mode, "ONLY_FULL_GROUP_BY", "")',
|
||||||
"@@session.wait_timeout = GREATEST(@@wait_timeout, $this->min_wait_timeout)",
|
// We need to use CONVERT for MySQL 8, Maria DB bug which triggers #1232 - Incorrect argument type to variable 'wait_timeout`
|
||||||
|
// https://stackoverflow.com/questions/35187378/mariadb-type-error-when-setting-session-variable
|
||||||
|
"@@session.wait_timeout = GREATEST(CONVERT(COALESCE(@@wait_timeout, 0), SIGNED), $this->min_wait_timeout)",
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!empty(Env::$db_charset)) {
|
if (!empty(Env::$db_charset)) {
|
||||||
|
@ -4,7 +4,7 @@ if (!defined('ABSPATH')) exit;
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Plugin Name: MailPoet 3 (New)
|
* Plugin Name: MailPoet 3 (New)
|
||||||
* Version: 3.34.3
|
* Version: 3.34.4
|
||||||
* Plugin URI: http://www.mailpoet.com
|
* Plugin URI: http://www.mailpoet.com
|
||||||
* Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
|
* Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
|
||||||
* Author: MailPoet
|
* Author: MailPoet
|
||||||
@ -18,7 +18,7 @@ if (!defined('ABSPATH')) exit;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$mailpoet_plugin = array(
|
$mailpoet_plugin = array(
|
||||||
'version' => '3.34.3',
|
'version' => '3.34.4',
|
||||||
'filename' => __FILE__,
|
'filename' => __FILE__,
|
||||||
'path' => dirname(__FILE__),
|
'path' => dirname(__FILE__),
|
||||||
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
||||||
|
@ -3,7 +3,7 @@ Contributors: mailpoet, wysija
|
|||||||
Tags: email marketing, newsletter, newsletter subscribers, email, welcome email, post notification, WooCommerce emails, newsletter builder
|
Tags: email marketing, newsletter, newsletter subscribers, email, welcome email, post notification, WooCommerce emails, newsletter builder
|
||||||
Requires at least: 4.7
|
Requires at least: 4.7
|
||||||
Tested up to: 5.2
|
Tested up to: 5.2
|
||||||
Stable tag: 3.34.3
|
Stable tag: 3.34.4
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
@ -147,6 +147,9 @@ Stop by our [support site](https://www.mailpoet.com/support).
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 3.34.4 - 2019-08-01 =
|
||||||
|
* Fixed: database connection error with MariaDB and MySQL 8 users.
|
||||||
|
|
||||||
= 3.34.3 - 2019-07-31 =
|
= 3.34.3 - 2019-07-31 =
|
||||||
* Fixed: some users were experiencing a database issue after latest update.
|
* Fixed: some users were experiencing a database issue after latest update.
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ class NewsletterTest extends \MailPoetTest {
|
|||||||
$queue = SendingTask::getByNewsletterId($newsletter->id);
|
$queue = SendingTask::getByNewsletterId($newsletter->id);
|
||||||
$wp = new WPFunctions();
|
$wp = new WPFunctions();
|
||||||
expect($queue->newsletter_rendered_subject)
|
expect($queue->newsletter_rendered_subject)
|
||||||
->contains(date_i18n('dS', $wp->currentTime('timestamp')));
|
->contains(date_i18n('jS', $wp->currentTime('timestamp')));
|
||||||
}
|
}
|
||||||
|
|
||||||
function testItUsesADefaultSubjectIfRenderedSubjectIsEmptyWhenPreprocessingNewsletter() {
|
function testItUsesADefaultSubjectIfRenderedSubjectIsEmptyWhenPreprocessingNewsletter() {
|
||||||
|
Reference in New Issue
Block a user