Ticket #20490: comment-template-formsubmit.patch
| File comment-template-formsubmit.patch, 1.2 KB (added by wpsmith, 13 months ago) |
|---|
-
wp-includes/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 <?php comment_id_fields( $post_id ); ?> 1579 <?php 1580 apply_filters( 'comment_form_submit_button', submit_button( $args['label_submit'], 'button', 'submit', false, array( 'id' => $args['id_submit'] ) ), $args ); 1581 comment_id_fields( $post_id ); ?> 1582 1580 1583 </p> 1581 1584 <?php do_action( 'comment_form', $post_id ); ?> 1582 1585 </form>
