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);
`
Comments
Was just returning to also ask about the password form. I see it can no longer be provided by the theme for new authentication options I assume. However it did not give me the deprecated function warning, with or without the deprecated function plugin enabled (I always test me themes with deprecated function plugin off). No biggie, just wondering if there is an issue there....
If you want to disable that you need to enable the deprecated functions plugin and reset the message display checkbox for that message.