PHP functions used as modifier must be registered as modifier explicitly as of Smarty 4.3 - fixed.
This commit is contained in:
parent
c53b92cd1b
commit
9a3ed8d643
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user