Merge branch 'release/1.2.4'
This commit is contained in:
commit
7d8f816bf5
|
@ -1,3 +1,9 @@
|
||||||
|
# v1.2.4
|
||||||
|
## 09/15/2016
|
||||||
|
|
||||||
|
1. [](#bugfix)
|
||||||
|
* Fix missing Twig template error if route is excluded but twig is loaded
|
||||||
|
|
||||||
# v1.2.3
|
# v1.2.3
|
||||||
## 09/15/2016
|
## 09/15/2016
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: Comments
|
name: Comments
|
||||||
version: 1.2.3
|
version: 1.2.4
|
||||||
description: Adds a commenting functionality to your site
|
description: Adds a commenting functionality to your site
|
||||||
icon: comment
|
icon: comment
|
||||||
author:
|
author:
|
||||||
|
|
|
@ -115,9 +115,12 @@ class CommentsPlugin extends Plugin
|
||||||
{
|
{
|
||||||
$this->calculateEnable();
|
$this->calculateEnable();
|
||||||
|
|
||||||
if ($this->enable) {
|
|
||||||
$this->enable([
|
$this->enable([
|
||||||
'onTwigTemplatePaths' => ['onTwigTemplatePaths', 0],
|
'onTwigTemplatePaths' => ['onTwigTemplatePaths', 0],
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($this->enable) {
|
||||||
|
$this->enable([
|
||||||
'onFormProcessed' => ['onFormProcessed', 0],
|
'onFormProcessed' => ['onFormProcessed', 0],
|
||||||
'onFormPageHeaderProcessed' => ['onFormPageHeaderProcessed', 0],
|
'onFormPageHeaderProcessed' => ['onFormPageHeaderProcessed', 0],
|
||||||
'onPageInitialized' => ['onPageInitialized', 10],
|
'onPageInitialized' => ['onPageInitialized', 10],
|
||||||
|
|
Loading…
Reference in New Issue