Make WordPress Core

Ticket #23851: 23851.1.diff

File 23851.1.diff, 1.6 KB (added by obenland, 12 years ago)
  • wp-includes/comment-template.php

     
    16421642        ?>
    16431643                <?php if ( comments_open( $post_id ) ) : ?>
    16441644                        <?php do_action( 'comment_form_before' ); ?>
    1645                         <div id="respond">
    1646                                 <h3 id="reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>
     1645                        <div id="respond" class="respond">
     1646                                <h3 id="reply-title" class="reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>
    16471647                                <?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>
    16481648                                        <?php echo $args['must_log_in']; ?>
    16491649                                        <?php do_action( 'comment_form_must_log_in_after' ); ?>
    16501650                                <?php else : ?>
    1651                                         <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>"<?php echo $html5 ? ' novalidate' : ''; ?>>
     1651                                        <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="comment-form"<?php echo $html5 ? ' novalidate' : ''; ?>>
    16521652                                                <?php do_action( 'comment_form_top' ); ?>
    16531653                                                <?php if ( is_user_logged_in() ) : ?>
    16541654                                                        <?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>