Make WordPress Core

Ticket #19930: comment-template-tabindex.patch

File comment-template-tabindex.patch, 1.1 KB (added by wpsmith, 13 years ago)
  • comment-template.php

     
    15441544                'title_reply_to'       => __( 'Leave a Reply to %s' ),
    15451545                'cancel_reply_link'    => __( 'Cancel reply' ),
    15461546                'label_submit'         => __( 'Post Comment' ),
     1547                'tabindex'             => '',
    15471548        );
    15481549
    15491550        $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );
     
    15751576                                                <?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?>
    15761577                                                <?php echo $args['comment_notes_after']; ?>
    15771578                                                <p class="form-submit">
    1578                                                         <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
     1579                                                        <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" tabindex="<?php echo esc_attr( $args['tabindex'] ); ?>" />
    15791580                                                        <?php comment_id_fields( $post_id ); ?>
    15801581                                                </p>
    15811582                                                <?php do_action( 'comment_form', $post_id ); ?>