git-svn-id: http://svn.automattic.com/wordpress/trunk@1413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-06-11 19:03:59 +00:00
parent 98603cefa5
commit 8971569b13
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ function get_commentdata($comment_ID,$no_cache=0,$include_unapproved=false) { //
$myrow['comment_date']=$postc->comment_date; $myrow['comment_date']=$postc->comment_date;
$myrow['comment_content']=$postc->comment_content; $myrow['comment_content']=$postc->comment_content;
$myrow['comment_karma']=$postc->comment_karma; $myrow['comment_karma']=$postc->comment_karma;
$myrow['comment_approved']=$postc->comment_approved;
if (strstr($myrow['comment_content'], '<trackback />')) { if (strstr($myrow['comment_content'], '<trackback />')) {
$myrow['comment_type'] = 'trackback'; $myrow['comment_type'] = 'trackback';
} elseif (strstr($myrow['comment_content'], '<pingback />')) { } elseif (strstr($myrow['comment_content'], '<pingback />')) {