diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index a363979f87..ad5b9caf5e 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1322,10 +1322,13 @@ function comments_template( $file = '/comments.php', $separate_comments = false 'count' => true, 'orderby' => false, 'post_id' => $post->ID, - 'parent' => 0, 'status' => 'approve', ); + if ( $comment_args['hierarchical'] ) { + $top_level_args['parent'] = 0; + } + if ( isset( $comment_args['include_unapproved'] ) ) { $top_level_args['include_unapproved'] = $comment_args['include_unapproved']; }