Version Description
- 2017-05-30 =
- Updated: minimum required PHP version was increased from 5.3 to 5.3.3. Don't be stuck in the last decade. Ask your host to upgrade you to PHP 7;
- Improved: we now bundle multilingual translations that are 75% or more complete (a decrease from the previous 100% threshold);
- Fixed: ccntd characters are properly saved and displayed on all hosts. WARNING: non-English language users are advised to back up their data before upgrading and contact us if something goes wrong;
- Fixed: when subscription confirmation is enabled, welcome notifications will only get scheduled when one's subscription is confirmed;
- Fixed: subscription widget's title is styled in accordance with the active theme's configuration.
Download this release
Release Info
Developer | wysija |
Plugin | MailPoet Newsletters (New) |
Version | 3.0.0-beta.33.1 |
Comparing to | |
See all releases |
Code changes from version 3.0.0-beta.33 to 3.0.0-beta.33.1
- lang/mailpoet.pot +1 -1
- lib/Config/Database.php +9 -1
- lib/Config/Env.php +5 -2
- mailpoet.php +2 -2
- readme.txt +2 -2
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -5
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-05-30
|
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-05-30 18:38:18+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/Config/Database.php
CHANGED
@@ -32,8 +32,16 @@ class Database {
|
|
32 |
$driver_options = array(
|
33 |
'TIME_ZONE = "' . Env::$db_timezone_offset . '"',
|
34 |
'sql_mode=(SELECT REPLACE(@@sql_mode,"ONLY_FULL_GROUP_BY",""))',
|
35 |
-
'NAMES ' . Env::$db_charset . ' COLLATE ' . ENV::$db_collation,
|
36 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
$current_options = ORM::for_table("")
|
38 |
->raw_query('SELECT @@session.wait_timeout as wait_timeout')
|
39 |
->findOne();
|
32 |
$driver_options = array(
|
33 |
'TIME_ZONE = "' . Env::$db_timezone_offset . '"',
|
34 |
'sql_mode=(SELECT REPLACE(@@sql_mode,"ONLY_FULL_GROUP_BY",""))',
|
|
|
35 |
);
|
36 |
+
|
37 |
+
if(!empty(Env::$db_charset)) {
|
38 |
+
$character_set = 'NAMES ' . Env::$db_charset;
|
39 |
+
if(!empty(Env::$db_collation)) {
|
40 |
+
$character_set .= ' COLLATE ' . Env::$db_collation;
|
41 |
+
}
|
42 |
+
$driver_options[] = $character_set;
|
43 |
+
}
|
44 |
+
|
45 |
$current_options = ORM::for_table("")
|
46 |
->raw_query('SELECT @@session.wait_timeout as wait_timeout')
|
47 |
->findOne();
|
lib/Config/Env.php
CHANGED
@@ -67,11 +67,11 @@ class Env {
|
|
67 |
self::$db_charset = $wpdb->charset;
|
68 |
self::$db_collation = $wpdb->collate;
|
69 |
self::$db_charset_collate = $wpdb->get_charset_collate();
|
70 |
-
self::$db_source_name = self::dbSourceName(self::$db_host, self::$db_socket, self::$db_port);
|
71 |
self::$db_timezone_offset = self::getDbTimezoneOffset();
|
72 |
}
|
73 |
|
74 |
-
private static function dbSourceName($host, $socket, $port) {
|
75 |
$source_name = array(
|
76 |
(!$socket) ? 'mysql:host=' : 'mysql:unix_socket=',
|
77 |
$host,
|
@@ -82,6 +82,9 @@ class Env {
|
|
82 |
'dbname=',
|
83 |
DB_NAME
|
84 |
);
|
|
|
|
|
|
|
85 |
return implode('', $source_name);
|
86 |
}
|
87 |
|
67 |
self::$db_charset = $wpdb->charset;
|
68 |
self::$db_collation = $wpdb->collate;
|
69 |
self::$db_charset_collate = $wpdb->get_charset_collate();
|
70 |
+
self::$db_source_name = self::dbSourceName(self::$db_host, self::$db_socket, self::$db_port, self::$db_charset);
|
71 |
self::$db_timezone_offset = self::getDbTimezoneOffset();
|
72 |
}
|
73 |
|
74 |
+
private static function dbSourceName($host, $socket, $port, $charset) {
|
75 |
$source_name = array(
|
76 |
(!$socket) ? 'mysql:host=' : 'mysql:unix_socket=',
|
77 |
$host,
|
82 |
'dbname=',
|
83 |
DB_NAME
|
84 |
);
|
85 |
+
if(!empty($charset)) {
|
86 |
+
$source_name[] = ';charset=' . $charset;
|
87 |
+
}
|
88 |
return implode('', $source_name);
|
89 |
}
|
90 |
|
mailpoet.php
CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
|
|
4 |
|
5 |
/*
|
6 |
* Plugin Name: MailPoet
|
7 |
-
* Version: 3.0.0-beta.33
|
8 |
* Plugin URI: http://www.mailpoet.com
|
9 |
* Description: Create and send beautiful email newsletters, autoresponders, and post notifications without leaving WordPress. This is a beta version of our brand new plugin!
|
10 |
* Author: MailPoet
|
@@ -21,7 +21,7 @@ if(!defined('ABSPATH')) exit;
|
|
21 |
*/
|
22 |
|
23 |
$mailpoet_plugin = array(
|
24 |
-
'version' => '3.0.0-beta.33',
|
25 |
'filename' => __FILE__,
|
26 |
'path' => dirname(__FILE__),
|
27 |
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
4 |
|
5 |
/*
|
6 |
* Plugin Name: MailPoet
|
7 |
+
* Version: 3.0.0-beta.33.1
|
8 |
* Plugin URI: http://www.mailpoet.com
|
9 |
* Description: Create and send beautiful email newsletters, autoresponders, and post notifications without leaving WordPress. This is a beta version of our brand new plugin!
|
10 |
* Author: MailPoet
|
21 |
*/
|
22 |
|
23 |
$mailpoet_plugin = array(
|
24 |
+
'version' => '3.0.0-beta.33.1',
|
25 |
'filename' => __FILE__,
|
26 |
'path' => dirname(__FILE__),
|
27 |
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: mailpoet, wysija
|
|
3 |
Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.7.5
|
6 |
-
Stable tag: 3.0.0-beta.33
|
7 |
Create and send beautiful emails and newsletters from WordPress.
|
8 |
|
9 |
== Description ==
|
@@ -91,7 +91,7 @@ Our [support site](https://beta.docs.mailpoet.com) has plenty of articles. You c
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
-
= 3.0.0-beta.33 - 2017-05-30 =
|
95 |
* Updated: minimum required PHP version was increased from 5.3 to 5.3.3. Don't be stuck in the last decade. Ask your host to upgrade you to PHP 7;
|
96 |
* Improved: we now bundle multilingual translations that are 75% or more complete (a decrease from the previous 100% threshold);
|
97 |
* Fixed: âccéntèd characters are properly saved and displayed on all hosts. WARNING: non-English language users are advised to back up their data before upgrading and contact us if something goes wrong;
|
3 |
Tags: newsletter, email, welcome email, post notification, autoresponder, signup, subscription, SMTP
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.7.5
|
6 |
+
Stable tag: 3.0.0-beta.33.1
|
7 |
Create and send beautiful emails and newsletters from WordPress.
|
8 |
|
9 |
== Description ==
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 3.0.0-beta.33.1 - 2017-05-30 =
|
95 |
* Updated: minimum required PHP version was increased from 5.3 to 5.3.3. Don't be stuck in the last decade. Ask your host to upgrade you to PHP 7;
|
96 |
* Improved: we now bundle multilingual translations that are 75% or more complete (a decrease from the previous 100% threshold);
|
97 |
* Fixed: âccéntèd characters are properly saved and displayed on all hosts. WARNING: non-English language users are advised to back up their data before upgrading and contact us if something goes wrong;
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitcd4b58ded996167f3058bbf486d6cefc::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInita04615345952ec22690361cfff70cbcc
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
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\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
@@ -48,19 +48,19 @@ class ComposerAutoloaderInita04615345952ec22690361cfff70cbcc
|
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
-
$includeFiles = Composer\Autoload\
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
-
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
-
function
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitcd4b58ded996167f3058bbf486d6cefc
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitcd4b58ded996167f3058bbf486d6cefc', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitcd4b58ded996167f3058bbf486d6cefc', '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\ComposerStaticInitcd4b58ded996167f3058bbf486d6cefc::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\ComposerStaticInitcd4b58ded996167f3058bbf486d6cefc::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequirecd4b58ded996167f3058bbf486d6cefc($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequirecd4b58ded996167f3058bbf486d6cefc($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
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
@@ -617,10 +617,10 @@ class ComposerStaticInita04615345952ec22690361cfff70cbcc
|
|
617 |
public static function getInitializer(ClassLoader $loader)
|
618 |
{
|
619 |
return \Closure::bind(function () use ($loader) {
|
620 |
-
$loader->prefixLengthsPsr4 =
|
621 |
-
$loader->prefixDirsPsr4 =
|
622 |
-
$loader->prefixesPsr0 =
|
623 |
-
$loader->classMap =
|
624 |
|
625 |
}, null, ClassLoader::class);
|
626 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitcd4b58ded996167f3058bbf486d6cefc
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
617 |
public static function getInitializer(ClassLoader $loader)
|
618 |
{
|
619 |
return \Closure::bind(function () use ($loader) {
|
620 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitcd4b58ded996167f3058bbf486d6cefc::$prefixLengthsPsr4;
|
621 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitcd4b58ded996167f3058bbf486d6cefc::$prefixDirsPsr4;
|
622 |
+
$loader->prefixesPsr0 = ComposerStaticInitcd4b58ded996167f3058bbf486d6cefc::$prefixesPsr0;
|
623 |
+
$loader->classMap = ComposerStaticInitcd4b58ded996167f3058bbf486d6cefc::$classMap;
|
624 |
|
625 |
}, null, ClassLoader::class);
|
626 |
}
|