mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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: http://svn.automattic.com/wordpress/trunk@16704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f729d98e95
commit
e69d948ca4
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user