[wp-cvs] wordpress/wp-includes comment-functions.php,1.19,1.20

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Jan 24 10:13:30 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7023/wp-includes

Modified Files:
	comment-functions.php 
Log Message:
Return comment even if blank.

Index: comment-functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/comment-functions.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** comment-functions.php	24 Jan 2005 06:37:20 -0000	1.19
--- comment-functions.php	24 Jan 2005 10:13:28 -0000	1.20
***************
*** 169,172 ****
--- 169,176 ----
  function get_comment_type() {
  	global $comment;
+ 
+ 	if ( '' == $comment->comment_type )
+ 		$comment->comment_type = 'comment';
+ 
  	return apply_filters('get_comment_type', $comment->comment_type);
  }



More information about the cvs mailing list