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:
parent
ec205359bc
commit
852dec7767
|
@ -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 ); ?>
|
||||||
|
|
Loading…
Reference in New Issue