From 90873d5063d3f1c247b6c5592ecdd5613f6c854c Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@14274 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 57a360909..5ec8990c7 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 ) { - +