diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 609653c39..8e984ecad 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -168,6 +168,10 @@ function comment_author_link() { function get_comment_type() { global $comment; + + if ( '' == $comment->comment_type ) + $comment->comment_type = 'comment'; + return apply_filters('get_comment_type', $comment->comment_type); }