Ticket #20446: comment_form.patch
File comment_form.patch, 1.4 KB (added by , 12 years ago) |
---|
-
wp-includes/comment-template.php
1540 1540 'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>', 1541 1541 'id_form' => 'commentform', 1542 1542 'id_submit' => 'submit', 1543 'class_submit' => 'submit', 1543 1544 'title_reply' => __( 'Leave a Reply' ), 1544 1545 'title_reply_to' => __( 'Leave a Reply to %s' ), 1545 1546 'cancel_reply_link' => __( 'Cancel reply' ), … … 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'] ); ?>" class="<?php echo esc_attr( $args['class_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> 1579 1580 <?php comment_id_fields( $post_id ); ?> 1580 1581 </p> 1581 1582 <?php do_action( 'comment_form', $post_id ); ?>