Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../themes/Divi/includes/builder
File: comments_template.php
<?php
[0] Fix | Delete
if ( post_password_required() ) : ?>
[1] Fix | Delete
[2] Fix | Delete
<p class="nocomments container"><?php esc_html_e( 'This post is password protected. Enter the password to view comments.', 'et_builder' ); ?></p>
[3] Fix | Delete
<?php
[4] Fix | Delete
return;
[5] Fix | Delete
endif;
[6] Fix | Delete
[7] Fix | Delete
global $et_comments_header_level, $et_comments_form_title_level;
[8] Fix | Delete
[9] Fix | Delete
$et_comments_header_level_processed = isset( $et_comments_header_level ) && '' !== $et_comments_header_level ? et_pb_process_header_level( $et_comments_header_level, 'h1' ) : 'h1';
[10] Fix | Delete
?>
[11] Fix | Delete
<!-- You can start editing here. -->
[12] Fix | Delete
[13] Fix | Delete
<section id="comment-wrap">
[14] Fix | Delete
<<?php echo et_core_intentionally_unescaped( $et_comments_header_level_processed, 'fixed_string' ); ?> id="comments" class="page_title"><?php comments_number( esc_html__( '0 Comments', 'et_builder' ), esc_html__( '1 Comment', 'et_builder' ), '% ' . esc_html__( 'Comments', 'et_builder' ) ); ?></<?php echo et_core_intentionally_unescaped( $et_comments_header_level_processed, 'fixed_string' ); ?>>
[15] Fix | Delete
<?php if ( have_comments() ) : ?>
[16] Fix | Delete
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
[17] Fix | Delete
<div class="comment_navigation_top clearfix">
[18] Fix | Delete
<div class="nav-previous"><?php previous_comments_link( et_get_safe_localization( __( '<span class="meta-nav">&larr;</span> Older Comments', 'et_builder' ) ) ); ?></div>
[19] Fix | Delete
<div class="nav-next"><?php next_comments_link( et_get_safe_localization( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'et_builder' ) ) ); ?></div>
[20] Fix | Delete
</div> <!-- .navigation -->
[21] Fix | Delete
<?php endif; // check for comment navigation ?>
[22] Fix | Delete
[23] Fix | Delete
<?php if ( ! empty($comments_by_type['comment']) ) : ?>
[24] Fix | Delete
<ol class="commentlist clearfix">
[25] Fix | Delete
<?php wp_list_comments( array('type'=>'comment', 'callback'=>'et_custom_comments_display' ) ); ?>
[26] Fix | Delete
</ol>
[27] Fix | Delete
<?php endif; ?>
[28] Fix | Delete
[29] Fix | Delete
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
[30] Fix | Delete
<div class="comment_navigation_bottom clearfix">
[31] Fix | Delete
<div class="nav-previous"><?php previous_comments_link( et_get_safe_localization( __( '<span class="meta-nav">&larr;</span> Older Comments', 'et_builder' ) ) ); ?></div>
[32] Fix | Delete
<div class="nav-next"><?php next_comments_link( et_get_safe_localization( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'et_builder' ) ) ); ?></div>
[33] Fix | Delete
</div> <!-- .navigation -->
[34] Fix | Delete
<?php endif; // check for comment navigation ?>
[35] Fix | Delete
[36] Fix | Delete
<?php if ( ! empty($comments_by_type['pings']) ) : ?>
[37] Fix | Delete
<div id="trackbacks">
[38] Fix | Delete
<h3 id="trackbacks-title"><?php esc_html_e('Trackbacks/Pingbacks','et_builder'); ?></h3>
[39] Fix | Delete
<ol class="pinglist">
[40] Fix | Delete
<?php wp_list_comments('type=pings&callback=et_list_pings'); ?>
[41] Fix | Delete
</ol>
[42] Fix | Delete
</div>
[43] Fix | Delete
<?php endif; ?>
[44] Fix | Delete
<?php else : // this is displayed if there are no comments so far ?>
[45] Fix | Delete
<div id="comment-section" class="nocomments">
[46] Fix | Delete
<?php if ( 'open' === $post->comment_status ) : ?>
[47] Fix | Delete
<!-- If comments are open, but there are no comments. -->
[48] Fix | Delete
[49] Fix | Delete
<?php else : // comments are closed ?>
[50] Fix | Delete
<!-- If comments are closed. -->
[51] Fix | Delete
[52] Fix | Delete
<?php endif; ?>
[53] Fix | Delete
</div>
[54] Fix | Delete
<?php endif; ?>
[55] Fix | Delete
<?php if ( 'open' === $post->comment_status ) : ?>
[56] Fix | Delete
<?php
[57] Fix | Delete
// Comment submit content title level.
[58] Fix | Delete
$et_comments_form_title_level_processed = isset( $et_comments_form_title_level ) && '' !== $et_comments_form_title_level ? et_pb_process_header_level( $et_comments_form_title_level, 'h3' ) : 'h3';
[59] Fix | Delete
$et_comments_form_title_level_escaped = et_core_intentionally_unescaped( $et_comments_form_title_level_processed, 'fixed_string' );
[60] Fix | Delete
[61] Fix | Delete
comment_form( array(
[62] Fix | Delete
'label_submit' => esc_attr__( 'Submit Comment', 'et_builder' ),
[63] Fix | Delete
'title_reply' => '<span>' . esc_attr__( 'Submit a Comment', 'et_builder' ) . '</span>',
[64] Fix | Delete
'title_reply_to' => esc_attr__( 'Leave a Reply to %s', 'et_builder' ),
[65] Fix | Delete
'title_reply_before' => '<' . $et_comments_form_title_level_escaped . ' id="reply-title" class="comment-reply-title">',
[66] Fix | Delete
'title_reply_after' => '</' . $et_comments_form_title_level_escaped . '>',
[67] Fix | Delete
'class_submit' => 'submit et_pb_button',
[68] Fix | Delete
'comment_notes_after' => '',
[69] Fix | Delete
'id_submit' => 'et_pb_submit',
[70] Fix | Delete
) );
[71] Fix | Delete
?>
[72] Fix | Delete
<?php else: ?>
[73] Fix | Delete
[74] Fix | Delete
<?php endif; // if you delete this the sky will fall on your head ?>
[75] Fix | Delete
</section>
[76] Fix | Delete
[77] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function