diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 11968803f7..d8c16a93da 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1974,7 +1974,7 @@ function comment_form( $args = array(), $post_id = null ) { /** This filter is documented in wp-includes/link-template.php */ 'must_log_in' => '
' . sprintf( __( 'You must be logged in to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '
', /** This filter is documented in wp-includes/link-template.php */ - 'logged_in_as' => '' . sprintf( __( 'Logged in as %2$s. Log out?' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '
', + 'logged_in_as' => '' . sprintf( __( 'Logged in as %2$s. Log out?' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '
', 'comment_notes_before' => '' . __( 'Your email address will not be published.' ) . ''. ( $req ? $required_text : '' ) . '
', 'comment_notes_after' => '', 'id_form' => 'commentform', @@ -2008,183 +2008,181 @@ function comment_form( $args = array(), $post_id = null ) { // Ensure that the filtered args contain all required default values. $args = array_merge( $defaults, $args ); - if ( comments_open( $post_id ) ) : ?> + if ( comments_open( $post_id ) ) : ?> + +