Revert [16649] - The core output on this is for logged out users only - need to rework this if we want to move the output. See #14510

git-svn-id: https://develop.svn.wordpress.org/trunk@16704 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-12-03 09:44:17 +00:00
parent f5a207996c
commit 143c92e3ad
1 changed files with 1 additions and 2 deletions

View File

@ -1556,12 +1556,11 @@ function comment_form( $args = array(), $post_id = null ) {
<?php else : ?>
<form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>">
<?php do_action( 'comment_form_top' ); ?>
<?php echo $args['comment_notes_before']; ?>
<?php if ( is_user_logged_in() ) : ?>
<?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>
<?php do_action( 'comment_form_logged_in_after', $commenter, $user_identity ); ?>
<?php else : ?>
<?php echo $args['comment_notes_before']; ?>
<?php
do_action( 'comment_form_before_fields' );
foreach ( (array) $args['fields'] as $name => $field ) {