From e95ed7fd5a590936010b985403e2cd09b5177e94 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 11 Jun 2004 19:03:59 +0000 Subject: [PATCH] Add comment_approved to commentdata. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000015 git-svn-id: https://develop.svn.wordpress.org/trunk@1413 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index d6356847a7..d1bea9d86a 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -403,6 +403,7 @@ function get_commentdata($comment_ID,$no_cache=0,$include_unapproved=false) { // $myrow['comment_date']=$postc->comment_date; $myrow['comment_content']=$postc->comment_content; $myrow['comment_karma']=$postc->comment_karma; + $myrow['comment_approved']=$postc->comment_approved; if (strstr($myrow['comment_content'], '')) { $myrow['comment_type'] = 'trackback'; } elseif (strstr($myrow['comment_content'], '')) {