diff --git a/inc/theme_plus.php b/inc/theme_plus.php index 115b200..820c7d9 100644 --- a/inc/theme_plus.php +++ b/inc/theme_plus.php @@ -118,7 +118,9 @@ if(akina_option('classify_display')){ */ function comment_add_at( $comment_text, $comment = '') { if( $comment->comment_parent > 0) { - $comment_text = '@'.get_comment_author( $comment->comment_parent ) . ' ' . $comment_text; + if(substr($comment_text, 0, 3) === "
") + $comment_text = str_replace(substr($comment_text, 0, 3), '
@'.get_comment_author( $comment->comment_parent ) . ' ', $comment_text); + else $comment_text = '@'.get_comment_author( $comment->comment_parent ) . ' ' . $comment_text; } return $comment_text; }