Compare commits
2 Commits
update-plu
...
3.90.1
Author | SHA1 | Date | |
---|---|---|---|
9084120ab3 | |||
a060f0bda2 |
@ -18,7 +18,8 @@ class Renderer {
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
bool $debuggingEnabled,
|
bool $debuggingEnabled,
|
||||||
string $cachePath,
|
string $cachePath,
|
||||||
TwigFileSystem $fileSystem
|
TwigFileSystem $fileSystem,
|
||||||
|
bool $autoReload = false
|
||||||
) {
|
) {
|
||||||
$this->debuggingEnabled = $debuggingEnabled;
|
$this->debuggingEnabled = $debuggingEnabled;
|
||||||
$this->cachePath = $cachePath;
|
$this->cachePath = $cachePath;
|
||||||
@ -27,7 +28,7 @@ class Renderer {
|
|||||||
[
|
[
|
||||||
'cache' => new TwigFileSystemCache($cachePath),
|
'cache' => new TwigFileSystemCache($cachePath),
|
||||||
'debug' => $this->debuggingEnabled,
|
'debug' => $this->debuggingEnabled,
|
||||||
'auto_reload' => true,
|
'auto_reload' => $autoReload,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -12,10 +12,12 @@ class RendererFactory {
|
|||||||
public function getRenderer() {
|
public function getRenderer() {
|
||||||
if (!$this->renderer) {
|
if (!$this->renderer) {
|
||||||
$debugging = WP_DEBUG;
|
$debugging = WP_DEBUG;
|
||||||
|
$autoReload = defined('MAILPOET_DEVELOPMENT') && MAILPOET_DEVELOPMENT;
|
||||||
$this->renderer = new Renderer(
|
$this->renderer = new Renderer(
|
||||||
$debugging,
|
$debugging,
|
||||||
Env::$cachePath,
|
Env::$cachePath,
|
||||||
new TwigFileSystem(Env::$viewsPath)
|
new TwigFileSystem(Env::$viewsPath),
|
||||||
|
$autoReload
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return $this->renderer;
|
return $this->renderer;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Plugin Name: MailPoet 3 (New)
|
* Plugin Name: MailPoet 3 (New)
|
||||||
* Version: 3.90.0
|
* Version: 3.90.1
|
||||||
* 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
|
||||||
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$mailpoetPlugin = [
|
$mailpoetPlugin = [
|
||||||
'version' => '3.90.0',
|
'version' => '3.90.1',
|
||||||
'filename' => __FILE__,
|
'filename' => __FILE__,
|
||||||
'path' => dirname(__FILE__),
|
'path' => dirname(__FILE__),
|
||||||
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
|
||||||
|
@ -53,6 +53,7 @@ if (WP_DEBUG && PHP_VERSION_ID >= 70100 && file_exists($tracyPath)) {
|
|||||||
session_start();
|
session_start();
|
||||||
Debugger::enable(Debugger::DEVELOPMENT);
|
Debugger::enable(Debugger::DEVELOPMENT);
|
||||||
}
|
}
|
||||||
|
define('MAILPOET_DEVELOPMENT', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
define('MAILPOET_VERSION', $mailpoetPlugin['version']);
|
define('MAILPOET_VERSION', $mailpoetPlugin['version']);
|
||||||
|
@ -3,7 +3,7 @@ Contributors: mailpoet
|
|||||||
Tags: email, email marketing, post notification, woocommerce emails, email automation, newsletter, newsletter builder, newsletter subscribers
|
Tags: email, email marketing, post notification, woocommerce emails, email automation, newsletter, newsletter builder, newsletter subscribers
|
||||||
Requires at least: 5.6
|
Requires at least: 5.6
|
||||||
Tested up to: 5.9
|
Tested up to: 5.9
|
||||||
Stable tag: 3.90.0
|
Stable tag: 3.90.1
|
||||||
Requires PHP: 7.2
|
Requires PHP: 7.2
|
||||||
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
|
||||||
@ -219,6 +219,9 @@ Check our [Knowledge Base](https://kb.mailpoet.com) or contact us through our [s
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 3.90.1 - 2022-06-16 =
|
||||||
|
* Fixed: occasional error related to twig templates when updating the plugin.
|
||||||
|
|
||||||
= 3.90.0 - 2022-06-14 =
|
= 3.90.0 - 2022-06-14 =
|
||||||
* Updated: js-cookie library to version 3;
|
* Updated: js-cookie library to version 3;
|
||||||
* Improved: autocomplete's accessibility for first and last name;
|
* Improved: autocomplete's accessibility for first and last name;
|
||||||
|
Reference in New Issue
Block a user