Make WordPress Core

Ticket #23797: 23797.refresh.diff

File 23797.refresh.diff, 1.8 KB (added by voldemortensen, 11 years ago)

Refresh of 23797.diff

  • wp-includes/comment-template.php

    diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php
    index 0d44376..e2606ff 100644
    a b function comment_form( $args = array(), $post_id = null ) { 
    21072107                'logged_in_as'         => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
    21082108                'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
    21092109                '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>',
     2110                'comment_reply_markup' => '<h3 class="reply-title">%1$s <small>%2%s</small></h3>',
    21102111                'id_form'              => 'commentform',
    21112112                'id_submit'            => 'submit',
    21122113                'name_submit'          => 'submit',
    function comment_form( $args = array(), $post_id = null ) { 
    21392140                        do_action( 'comment_form_before' );
    21402141                        ?>
    21412142                        <div id="respond" class="comment-respond">
    2142                                 <h3 id="reply-title" class="comment-reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>
     2143                                <?php printf( $args['comment_reply_markup'],
     2144                                comment_form_title( $args['title_reply'],
     2145                                $args['title_reply_to'] ),
     2146                                cancel_comment_reply_link( $args['cancel_reply_link'] ); ?>
    21432147                                <?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>
    21442148                                        <?php echo $args['must_log_in']; ?>
    21452149                                        <?php