mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
b8faed46d6
commit
e95ed7fd5a
@ -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
Block a user