Hello,
Working on updating my themes to the new version. Seems the code replacement below in the new version breaks using a custom comment_form.php in the theme. Am I missing something?
What it used to be in zp-extensions/comment_form.php:
`
$theme = getCurrentTheme();
$form = SERVERPATH.'/'.THEMEFOLDER.'/'.internalToFilesystem($theme).$formname;
if (file_exists($form)) {
$form = SERVERPATH.'/'.THEMEFOLDER.'/'.$theme.$formname;
} else {
$form = SERVERPATH.'/'.ZENFOLDER.'/'.PLUGIN_FOLDER.'/comment_form'.$formname;
}
`
now is, which is my best guess to why it is not working:
`
$theme = getCurrentTheme();
$form = getPlugin('comment_form'.$formname, $theme);
`