0

Hi,

Updating pro plugin from 1.7.0 to 1.7.1 makes wordpress ignoring my child theme’s file comments.php, altough I use the following filter :

function override_comment_template( $comment_template ) {
global $post;
if ( !( is_singular() && ( have_comments() || ‘open’ == $post->comment_status ) ) ) {
return;
}
// your full path and name of comments file to use
return get_stylesheet_directory() .”/comments.php”;
}
add_filter( “comments_template”, “override_comment_template” );

Can you please fix this ? For now I’ll be rolling back to 1.7.0

Thanks!

Benoit

Benoît Longueval Answered question 08/02/2022