Ticket #19930: comment-template-tabindex.patch
File comment-template-tabindex.patch, 1.1 KB (added by , 13 years ago) |
---|
-
comment-template.php
1544 1544 'title_reply_to' => __( 'Leave a Reply to %s' ), 1545 1545 'cancel_reply_link' => __( 'Cancel reply' ), 1546 1546 'label_submit' => __( 'Post Comment' ), 1547 'tabindex' => '', 1547 1548 ); 1548 1549 1549 1550 $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); … … 1575 1576 <?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?> 1576 1577 <?php echo $args['comment_notes_after']; ?> 1577 1578 <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'] ); ?>" /> 1579 1580 <?php comment_id_fields( $post_id ); ?> 1580 1581 </p> 1581 1582 <?php do_action( 'comment_form', $post_id ); ?>