Make WordPress Core

Ticket #15015: 15015.diff

File 15015.diff, 1.3 KB (added by coffee2code, 13 years ago)
  • wp-includes/comment-template.php

     
    15441544                'title_reply_to'       => __( 'Leave a Reply to %s' ),
    15451545                'cancel_reply_link'    => __( 'Cancel reply' ),
    15461546                'label_submit'         => __( 'Post Comment' ),
     1547                'submit_button'        => '<p class="form-submit"><input name="submit" type="submit" id="%1$s" value="%2$s" /></p>',
    15471548        );
    15481549
    15491550        $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );
     
    15741575                                                <?php endif; ?>
    15751576                                                <?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?>
    15761577                                                <?php echo $args['comment_notes_after']; ?>
    1577                                                 <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 ); ?>
    1580                                                 </p>
     1578                                                <?php echo apply_filters( 'comment_form_submit_button', sprintf( $args['submit_button'], esc_attr( $args['id_submit'] ), esc_attr( $args['label_submit'] ) ) ); ?>
     1579                                                <?php comment_id_fields( $post_id ); ?>
    15811580                                                <?php do_action( 'comment_form', $post_id ); ?>
    15821581                                        </form>
    15831582                                <?php endif; ?>