Fix warnings in recent_comments on dashboard, see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@9107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9af33a74a9
commit
7eb6d6fadc
|
@ -332,7 +332,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
|
|||
|
||||
?>
|
||||
|
||||
<div id="comment-<?php echo $comment->comment_ID; ?>" <?php comment_class( array( 'comment-item', wp_get_comment_status() ) ); ?>>
|
||||
<div id="comment-<?php echo $comment->comment_ID; ?>" <?php comment_class( array( 'comment-item', wp_get_comment_status($comment->comment_ID) ) ); ?>>
|
||||
<?php if ( !$comment->comment_type || 'comment' == $comment->comment_type ) : ?>
|
||||
|
||||
<?php echo get_avatar( $comment, 32 ); ?>
|
||||
|
|
Loading…
Reference in New Issue