diff --git a/CHANGELOG.md b/CHANGELOG.md index 56c6bca..955da44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## General - Template engine Smarty updated to version 4.1.0 (see [#94](https://github.com/flatpressblog/flatpress/issues/94)) - From now on, FlatPress requires at least PHP 7.1! + - Please make sure your themes and plugins continue to work with the new Smarty version - Added [SECURITY.md](https://github.com/flatpressblog/flatpress/blob/master/SECURITY.md) - [README](https://github.com/flatpressblog/flatpress/blob/master/README.md): added "help and support" section diff --git a/fp-includes/core/core.system.php b/fp-includes/core/core.system.php index 55986cb..51c20f8 100755 --- a/fp-includes/core/core.system.php +++ b/fp-includes/core/core.system.php @@ -68,7 +68,7 @@ function system_hashsalt_save($force = false) { return true; } -define('SYSTEM_VER', '1.3.dev [master]'); +define('SYSTEM_VER', '1.3.dev [smartyupdate]'); function system_ver() { return 'fp-' . SYSTEM_VER; diff --git a/fp-includes/smarty-4.1.0/libs/plugins/function.comment_form.php b/fp-includes/smarty-4.1.0/libs/plugins/function.comment_form.php new file mode 100644 index 0000000..a1f6033 --- /dev/null +++ b/fp-includes/smarty-4.1.0/libs/plugins/function.comment_form.php @@ -0,0 +1,15 @@ + diff --git a/search.php b/search.php index d33de30..4032f9e 100755 --- a/search.php +++ b/search.php @@ -142,7 +142,7 @@ function smarty_search_result($params, $content, &$smarty, &$repeat) { // assign values to template $smarty->assign('id', $id); $post = $e; - +$smarty->assign($e); + $smarty->assign($e); $repeat = true; // advance pointer to next search result element next($srchresults);