diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 4e75e7bca8..d00c4444cd 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -2228,8 +2228,7 @@ function comment_form( $args = array(), $post_id = null ) { */ $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); - ?> - + if ( comments_open( $post_id ) ) : ?>