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:
parent
91dd2f77b9
commit
86e48df4f7
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue