Skip to content

Commit c8c8bf1

Browse files
committed
Fix comment_notes_before. Props mrmist. fixes #14510
git-svn-id: https://develop.svn.wordpress.org/trunk@16649 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6467859 commit c8c8bf1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wp-includes/comment-template.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,11 +1556,12 @@ function comment_form( $args = array(), $post_id = null ) {
15561556
<?php else : ?>
15571557
<form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>">
15581558
<?php do_action( 'comment_form_top' ); ?>
1559+
<?php echo $args['comment_notes_before']; ?>
15591560
<?php if ( is_user_logged_in() ) : ?>
15601561
<?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>
15611562
<?php do_action( 'comment_form_logged_in_after', $commenter, $user_identity ); ?>
15621563
<?php else : ?>
1563-
<?php echo $args['comment_notes_before']; ?>
1564+
15641565
<?php
15651566
do_action( 'comment_form_before_fields' );
15661567
foreach ( (array) $args['fields'] as $name => $field ) {

0 commit comments

Comments
 (0)