diff --git a/wp-includes/class-walker-comment.php b/wp-includes/class-walker-comment.php
index 2ff35bd..f3a3480 100644
a
|
b
|
class Walker_Comment extends Walker { |
52 | 52 | public function start_lvl( &$output, $depth = 0, $args = array() ) { |
53 | 53 | $GLOBALS['comment_depth'] = $depth + 1; |
54 | 54 | |
| 55 | // Default class. |
| 56 | $classes = array( 'children' ); |
| 57 | |
| 58 | $class_names = join( ' ', apply_filters( 'comment_children_css_class', $classes, $args, $depth ) ); |
| 59 | $class_names = $class_names ? sprintf( ' class="%s"', $class_names ) : ''; |
| 60 | |
55 | 61 | switch ( $args['style'] ) { |
56 | 62 | case 'div': |
57 | 63 | break; |
58 | 64 | case 'ol': |
59 | | $output .= '<ol class="children">' . "\n"; |
| 65 | $output .= '<ol' . $class_names . '>' . "\n"; |
60 | 66 | break; |
61 | 67 | case 'ul': |
62 | 68 | default: |
63 | | $output .= '<ul class="children">' . "\n"; |
| 69 | $output .= '<ul' . $class_names . '>' . "\n"; |
64 | 70 | break; |
65 | 71 | } |
66 | 72 | } |