diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 418c233a71..6526ecf126 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -512,7 +512,7 @@ function wp_dashboard_recent_comments() { foreach ( $possible as $comment ) { if ( count( $comments ) >= $total_items ) break; - if ( in_array( $comment->comment_approved, $allowed_states ) ) + if ( in_array( $comment->comment_approved, $allowed_states ) && current_user_can( 'read_post', $comment->comment_post_ID ) ) $comments[] = $comment; }