From 5dd4da69322164f9864ef820e128558fd5d3bdb6 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Wed, 28 Apr 2010 07:17:20 +0000 Subject: [PATCH] Revert [14268] - It is much better to use JavaScript for this kind of enhancement. Output buffering is too fragile. See #12564. git-svn-id: https://develop.svn.wordpress.org/trunk@14274 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 57a3609092..5ec8990c76 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1515,11 +1515,10 @@ function comment_form( $args = array(), $post_id = null ) { 'title_reply_to' => __( 'Leave a Reply to %s' ), 'cancel_reply_link' => __( 'Cancel reply' ), 'label_submit' => __( 'Post Comment' ), - 'echo' => true, ); $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); - ob_start(); + ?> @@ -1557,12 +1556,8 @@ function comment_form( $args = array(), $post_id = null ) { - +