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