diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php
index e45088729f..56d9cd0dcf 100644
a
|
b
|
function comment_form( $args = array(), $post_id = null ) { |
2530 | 2530 | |
2531 | 2531 | comment_form_title( $args['title_reply'], $args['title_reply_to'] ); |
2532 | 2532 | |
2533 | | echo $args['cancel_reply_before']; |
| 2533 | if ( get_option( 'thread_comments' ) ) { |
| 2534 | |
| 2535 | echo $args['cancel_reply_before']; |
2534 | 2536 | |
2535 | | cancel_comment_reply_link( $args['cancel_reply_link'] ); |
| 2537 | cancel_comment_reply_link( $args['cancel_reply_link'] ); |
2536 | 2538 | |
2537 | | echo $args['cancel_reply_after']; |
| 2539 | echo $args['cancel_reply_after']; |
| 2540 | |
| 2541 | } |
2538 | 2542 | |
2539 | 2543 | echo $args['title_reply_after']; |
2540 | 2544 | |