diff --git a/src/wp-includes/widgets/class-wp-widget-recent-comments.php b/src/wp-includes/widgets/class-wp-widget-recent-comments.php
index 99330a4..4a4748a 100644
a
|
b
|
class WP_Widget_Recent_Comments extends WP_Widget { |
112 | 112 | $output .= $args['before_title'] . $title . $args['after_title']; |
113 | 113 | } |
114 | 114 | |
115 | | $output .= '<ul id="recentcomments">'; |
| 115 | $output .= '<ul id="widget-list-' . esc_attr( $args['widget_id'] ) . '" class="recentcomments">'; |
116 | 116 | if ( is_array( $comments ) && $comments ) { |
117 | 117 | // Prime cache for associated posts. (Prime post term cache if we need it for permalinks.) |
118 | 118 | $post_ids = array_unique( wp_list_pluck( $comments, 'comment_post_ID' ) ); |