Return comment even if blank.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-01-24 10:13:28 +00:00
parent 91dd2f77b9
commit 86e48df4f7
1 changed files with 4 additions and 0 deletions

View File

@ -168,6 +168,10 @@ function comment_author_link() {
function get_comment_type() { function get_comment_type() {
global $comment; global $comment;
if ( '' == $comment->comment_type )
$comment->comment_type = 'comment';
return apply_filters('get_comment_type', $comment->comment_type); return apply_filters('get_comment_type', $comment->comment_type);
} }