From 8971569b13d578e9518282c30dc2d4e43e7ba716 Mon Sep 17 00:00:00 2001 From: rboren 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: http://svn.automattic.com/wordpress/trunk@1413 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index d6356847a..d1bea9d86 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'], '')) {