Version Description
- 2017-03-14 =
- Improved: added plugin translations to Dutch, English (UK), French, German, Italian, Portuguese (Brazil), Portuguese (Portugal), Russian and Spanish languages. Thank you translators!
- Fixed: unsubscribed subscriber will no longer receive newsletters (woops!). Thanks, Oskar;
- Fixed: previously scheduled send tasks are rescheduled when post notifications' scheduling options change. Thanks, Karen and Eric!
- Fixed: Amazon SES sending method now works regardless of custom "arg_separator" set in PHP's configuration. Thanks Lukas!
Download this release
Release Info
Developer | wysija |
Plugin | MailPoet Newsletters (New) |
Version | 3.0.0-beta.23.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.0-beta.23.1 to 3.0.0-beta.23.2
- lang/mailpoet-de_DE.mo +0 -0
- lang/mailpoet-de_DE.po +2 -2
- lang/mailpoet.pot +1 -1
- lib/Cron/Workers/SendingQueue/SendingQueue.php +13 -4
- 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-de_DE.mo
CHANGED
Binary file
|
lang/mailpoet-de_DE.po
CHANGED
@@ -9,7 +9,7 @@ msgstr ""
|
|
9 |
"Project-Id-Version: MP3\n"
|
10 |
"Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
|
11 |
"POT-Creation-Date: 2017-02-28 12:02:22+00:00\n"
|
12 |
-
"PO-Revision-Date: 2017-03-
|
13 |
"Last-Translator: Christian Herrmann <cherrmann@gmx.de>\n"
|
14 |
"Language-Team: German (Germany) (http://www.transifex.com/wysija/mp3/language/de_DE/)\n"
|
15 |
"MIME-Version: 1.0\n"
|
@@ -569,7 +569,7 @@ msgid ""
|
|
569 |
"<p><span style=\"line-height: 1.6em; background-color: inherit;\">Below, you'll find three recent posts, which are displayed automatically, thanks to the <em>Automatic Latest Content</em> widget, which can be found in the right sidebar, under <em>Content</em>.</span></p>\n"
|
570 |
"<p><span style=\"line-height: 1.6em; background-color: inherit;\"></span></p>\n"
|
571 |
"<p><span style=\"line-height: 1.6em; background-color: inherit;\">To edit the settings and styles of your post, simply click on a post below.</span></p>"
|
572 |
-
msgstr "<h1 style=\"text-align: center;\"><strong>Schau dir unsere neuen Blog-Beiträge an! </strong></h1>\n<p></p>\n<p>MailPoet kann<span style=\"line-height: 1.6em; background-color: inherit;\"><em>automatisch</em> </span><span style=\"line-height: 1.6em; background-color: inherit;\">deine neuen Blog-Beiträge an deine Abonnenten senden.</span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\"></span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\">Unten findest du drei neue Beiträge, die automatisch angezeigt werden, dank des <em>Automatik für neueste Inhalte</em>-Widgets, welches in der rechten Seitenleiste unter <em>Inhalt</em> zu finden ist.</span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\"></span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\">Um die Einstellungen und Stile deines Beitrags zu bearbeiten, klicke einfach unten auf einen Beitrag.</span></p>"
|
573 |
|
574 |
#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:178
|
575 |
#: views/newsletter/editor.html:962 views/newsletter/editor.html:1084
|
9 |
"Project-Id-Version: MP3\n"
|
10 |
"Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
|
11 |
"POT-Creation-Date: 2017-02-28 12:02:22+00:00\n"
|
12 |
+
"PO-Revision-Date: 2017-03-15 03:14+0000\n"
|
13 |
"Last-Translator: Christian Herrmann <cherrmann@gmx.de>\n"
|
14 |
"Language-Team: German (Germany) (http://www.transifex.com/wysija/mp3/language/de_DE/)\n"
|
15 |
"MIME-Version: 1.0\n"
|
569 |
"<p><span style=\"line-height: 1.6em; background-color: inherit;\">Below, you'll find three recent posts, which are displayed automatically, thanks to the <em>Automatic Latest Content</em> widget, which can be found in the right sidebar, under <em>Content</em>.</span></p>\n"
|
570 |
"<p><span style=\"line-height: 1.6em; background-color: inherit;\"></span></p>\n"
|
571 |
"<p><span style=\"line-height: 1.6em; background-color: inherit;\">To edit the settings and styles of your post, simply click on a post below.</span></p>"
|
572 |
+
msgstr "<h1 style=\"text-align: center;\"><strong>Schau dir unsere neuen Blog-Beiträge an! </strong></h1>\n<p></p>\n<p>MailPoet kann <span style=\"line-height: 1.6em; background-color: inherit;\"><em>automatisch</em> </span><span style=\"line-height: 1.6em; background-color: inherit;\">deine neuen Blog-Beiträge an deine Abonnenten senden.</span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\"></span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\">Unten findest du drei neue Beiträge, die automatisch angezeigt werden, dank des <em>Automatik für neueste Inhalte</em>-Widgets, welches in der rechten Seitenleiste unter <em>Inhalt</em> zu finden ist.</span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\"></span></p>\n<p><span style=\"line-height: 1.6em; background-color: inherit;\">Um die Einstellungen und Stile deines Beitrags zu bearbeiten, klicke einfach unten auf einen Beitrag.</span></p>"
|
573 |
|
574 |
#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:178
|
575 |
#: views/newsletter/editor.html:962 views/newsletter/editor.html:1084
|
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-03-
|
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-03-15 12:30:53+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/Cron/Workers/SendingQueue/SendingQueue.php
CHANGED
@@ -43,10 +43,19 @@ class SendingQueue {
|
|
43 |
self::BATCH_SIZE
|
44 |
);
|
45 |
foreach($subscriber_batches as $subscribers_to_process_ids) {
|
46 |
-
$
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
// if some subscribers weren't found, remove them from the processing list
|
51 |
if(count($found_subscribers_ids) !== count($subscribers_to_process_ids)) {
|
52 |
$subscibers_to_remove = array_diff(
|
43 |
self::BATCH_SIZE
|
44 |
);
|
45 |
foreach($subscriber_batches as $subscribers_to_process_ids) {
|
46 |
+
if(!empty($newsletter_segments_ids[0])) {
|
47 |
+
// Check that subscribers are in segments
|
48 |
+
$found_subscribers = SubscriberModel::findSubscribersInSegments(
|
49 |
+
$subscribers_to_process_ids, $newsletter_segments_ids
|
50 |
+
)->findMany();
|
51 |
+
$found_subscribers_ids = SubscriberModel::extractSubscribersIds($found_subscribers);
|
52 |
+
} else {
|
53 |
+
// No segments = Welcome emails
|
54 |
+
$found_subscribers = SubscriberModel::whereIn('id', $subscribers_to_process_ids)
|
55 |
+
->whereNull('deleted_at')
|
56 |
+
->findMany();
|
57 |
+
$found_subscribers_ids = SubscriberModel::extractSubscribersIds($found_subscribers);
|
58 |
+
}
|
59 |
// if some subscribers weren't found, remove them from the processing list
|
60 |
if(count($found_subscribers_ids) !== count($subscribers_to_process_ids)) {
|
61 |
$subscibers_to_remove = array_diff(
|
mailpoet.php
CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
|
|
4 |
|
5 |
/*
|
6 |
* Plugin Name: MailPoet
|
7 |
-
* Version: 3.0.0-beta.23.
|
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.23.
|
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.23.2
|
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.23.2',
|
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, smtp
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.7.3
|
6 |
-
Stable tag: 3.0.0-beta.23.
|
7 |
Create and send beautiful emails and newsletters from WordPress.
|
8 |
|
9 |
== Description ==
|
@@ -84,7 +84,7 @@ Our [support site](https://docs.mailpoet.com/) has plenty of articles. You can w
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
87 |
-
= 3.0.0-beta.23.
|
88 |
* Improved: added plugin translations to Dutch, English (UK), French, German, Italian, Portuguese (Brazil), Portuguese (Portugal), Russian and Spanish languages. Thank you translators!
|
89 |
* Fixed: unsubscribed subscriber will no longer receive newsletters (woops!). Thanks, Oskar;
|
90 |
* Fixed: previously scheduled send tasks are rescheduled when post notifications' scheduling options change. Thanks, Karen and Eric!
|
3 |
Tags: newsletter, email, welcome email, post notification, autoresponder, signup, smtp
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.7.3
|
6 |
+
Stable tag: 3.0.0-beta.23.2
|
7 |
Create and send beautiful emails and newsletters from WordPress.
|
8 |
|
9 |
== Description ==
|
84 |
|
85 |
== Changelog ==
|
86 |
|
87 |
+
= 3.0.0-beta.23.2 - 2017-03-14 =
|
88 |
* Improved: added plugin translations to Dutch, English (UK), French, German, Italian, Portuguese (Brazil), Portuguese (Portugal), Russian and Spanish languages. Thank you translators!
|
89 |
* Fixed: unsubscribed subscriber will no longer receive newsletters (woops!). Thanks, Oskar;
|
90 |
* Fixed: previously scheduled send tasks are rescheduled when post notifications' scheduling options change. Thanks, Karen and Eric!
|
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 ComposerAutoloaderInit25d1cc9b68ae73712a421e4a8d56a82d::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 ComposerAutoloaderInit516938d1f95ba7f2ee83e23e527d40a0
|
|
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 ComposerAutoloaderInit516938d1f95ba7f2ee83e23e527d40a0
|
|
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 ComposerAutoloaderInit25d1cc9b68ae73712a421e4a8d56a82d
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit25d1cc9b68ae73712a421e4a8d56a82d', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit25d1cc9b68ae73712a421e4a8d56a82d', '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\ComposerStaticInit25d1cc9b68ae73712a421e4a8d56a82d::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\ComposerStaticInit25d1cc9b68ae73712a421e4a8d56a82d::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequire25d1cc9b68ae73712a421e4a8d56a82d($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequire25d1cc9b68ae73712a421e4a8d56a82d($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',
|
@@ -609,10 +609,10 @@ class ComposerStaticInit516938d1f95ba7f2ee83e23e527d40a0
|
|
609 |
public static function getInitializer(ClassLoader $loader)
|
610 |
{
|
611 |
return \Closure::bind(function () use ($loader) {
|
612 |
-
$loader->prefixLengthsPsr4 =
|
613 |
-
$loader->prefixDirsPsr4 =
|
614 |
-
$loader->prefixesPsr0 =
|
615 |
-
$loader->classMap =
|
616 |
|
617 |
}, null, ClassLoader::class);
|
618 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit25d1cc9b68ae73712a421e4a8d56a82d
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
609 |
public static function getInitializer(ClassLoader $loader)
|
610 |
{
|
611 |
return \Closure::bind(function () use ($loader) {
|
612 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit25d1cc9b68ae73712a421e4a8d56a82d::$prefixLengthsPsr4;
|
613 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit25d1cc9b68ae73712a421e4a8d56a82d::$prefixDirsPsr4;
|
614 |
+
$loader->prefixesPsr0 = ComposerStaticInit25d1cc9b68ae73712a421e4a8d56a82d::$prefixesPsr0;
|
615 |
+
$loader->classMap = ComposerStaticInit25d1cc9b68ae73712a421e4a8d56a82d::$classMap;
|
616 |
|
617 |
}, null, ClassLoader::class);
|
618 |
}
|