comment_type == 'pingback') {
$td_isPingTrackbackClass = 'pingback';
}
if($comment->comment_type == 'trackback') {
$td_isPingTrackbackClass = 'trackback';
}
if (!empty($comment->comment_author_email)) {
$td_comment_auth_email = $comment->comment_author_email;
} else {
$td_comment_auth_email = '';
}
$td_article_date_unix = @strtotime("{$comment->comment_date_gmt} GMT");
?>
'td_comment')); ?>
' . '
', ); $defaults = array('fields' => apply_filters('comment_form_default_fields', $fields)); $defaults['comment_field'] = '' . esc_html__('Log in to leave a comment', 'newsmag') . '
'; $defaults['logged_in_as'] = '' . sprintf( /* 1: edit user link, 2: accessibility text, 3: user name, 4: logout URL */ '' . esc_html__('Logged in as', 'newsmag') . ' %3$s. ' . esc_html__('Log out?', 'newsmag') . '', get_edit_user_link(), /* %s: user name */ esc_attr( sprintf( esc_html__( 'Logged in as %s. Edit your profile.' , 'newsmag'), $user_identity ) ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( get_the_ID() ) ) ) ) . '
'; comment_form($defaults); ?>