From a6476ab5278d130b18ffad04e124db2a41059b3b Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Sun, 20 Dec 2015 10:14:51 +0100 Subject: [PATCH] Increase priority for onPageInitialized in the comments plugin over the form plugin one --- comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comments.php b/comments.php index 1dda2ac..743971d 100644 --- a/comments.php +++ b/comments.php @@ -26,7 +26,7 @@ class CommentsPlugin extends Plugin return [ 'onPluginsInitialized' => ['onPluginsInitialized', 0], 'onFormProcessed' => ['onFormProcessed', 0], - 'onPageInitialized' => ['onPageInitialized', 0], + 'onPageInitialized' => ['onPageInitialized', 10], 'onTwigSiteVariables' => ['onTwigSiteVariables', 0] ]; }