PHP functions used as modifier must be registered as modifier explicitly as of Smarty 4.3 - fixed.

This commit is contained in:
azett 2023-01-22 12:39:17 +01:00
parent c53b92cd1b
commit 9a3ed8d643

View File

@ -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);