Fix warnings in recent_comments on dashboard, see #7552

git-svn-id: https://develop.svn.wordpress.org/trunk@9107 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-10-09 01:03:50 +00:00
parent ec205359bc
commit 852dec7767
1 changed files with 1 additions and 1 deletions

View File

@ -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 if ( !$comment->comment_type || 'comment' == $comment->comment_type ) : ?>
<?php echo get_avatar( $comment, 32 ); ?> <?php echo get_avatar( $comment, 32 ); ?>