diff --git a/contact.php b/contact.php index 544addf..75f0752 100755 --- a/contact.php +++ b/contact.php @@ -119,6 +119,10 @@ function contact_form() { function contact_main() { global $smarty; + // Initialize modifier functions + $smarty->registerPlugin('modifier', 'stripslashes', 'stripslashes'); + $smarty->registerPlugin('modifier', 'wp_specialchars', 'wp_specialchars'); + $lang = lang_load('contact'); $smarty->assign('subject', $lang ['contact'] ['head']);