: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<?php if ( post_password_required() ) { return; } ?>
<?php if ( comments_open() || get_comments_number() ) : ?>
<div id="comments" class="herald-comments">
comments_number(__herald('no_comments'), __herald('one_comment'), __herald('multiple_comments'));
$comments_title = ob_get_contents();
'title' => '<h4 class="h6 herald-mod-h herald-color">'.$comments_title.'</h4>',
'actions' => get_comment_pages_count() > 1 && get_option( 'page_comments' ) ? paginate_comments_links( array('echo' => false)) : ''
echo herald_print_heading( $args );
<?php if( strpos( 'above', herald_get_option('single_comment_form') ) !== false ) : ?>
<?php get_template_part( 'template-parts/single/comment-form' ); ?>
<?php if ( have_comments() ) : ?>
<ul class="comment-list">
'reply_text' => __herald('comment_reply')
<?php wp_list_comments($args); ?>
<?php if( strpos( 'below', herald_get_option('single_comment_form') ) !== false ) : ?>
<?php get_template_part( 'template-parts/single/comment-form' ); ?>