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
This commit is contained in:
parent
98603cefa5
commit
8971569b13
|
@ -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'], '<trackback />')) {
|
||||
$myrow['comment_type'] = 'trackback';
|
||||
} elseif (strstr($myrow['comment_content'], '<pingback />')) {
|
||||
|
|
Loading…
Reference in New Issue