From 9a3ed8d6437a5df0ecb07258feadb7556a9abf4b Mon Sep 17 00:00:00 2001 From: azett Date: Sun, 22 Jan 2023 12:39:17 +0100 Subject: [PATCH] PHP functions used as modifier must be registered as modifier explicitly as of Smarty 4.3 - fixed. --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index 711d48d..07d23b1 100644 --- a/index.php +++ b/index.php @@ -128,6 +128,8 @@ function index_main() { // register all Smarty modifier functions used by the templates $smarty->registerPlugin('modifier', 'wp_specialchars', 'wp_specialchars'); + $smarty->registerPlugin('modifier', 'date', 'date'); + $smarty->registerPlugin('modifier', 'theme_feed_link', 'theme_feed_link'); if (!empty($fp_params ['entry'])) { index_singlepost($params, $module);