Make WordPress Core

Ticket #23797: 23797.2.diff

File 23797.2.diff, 1.9 KB (added by MikeHansenMe, 11 years ago)
  • src/wp-includes/comment-template.php

     
    22282228                '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>',
    22292229                'comment_notes_before' => '<p class="comment-notes"><span id="email-notes">' . __( 'Your email address will not be published.' ) . '</span>'. ( $req ? $required_text : '' ) . '</p>',
    22302230                'comment_notes_after'  => '<p class="form-allowed-tags" id="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',
     2231                'comment_reply_markup' => '<h3 class="reply-title">%1$s <small>%2%s</small></h3>',
    22312232                'id_form'              => 'commentform',
    22322233                'id_submit'            => 'submit',
    22332234                'class_submit'         => 'submit',
     
    22622263                        do_action( 'comment_form_before' );
    22632264                        ?>
    22642265                        <div id="respond" class="comment-respond">
    2265                                 <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>
    2266                                 <?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>
     2266                                <?php printf( $args['comment_reply_markup'],
     2267                                comment_form_title( $args['title_reply'],
     2268                                $args['title_reply_to'] ),
     2269                                cancel_comment_reply_link( $args['cancel_reply_link'] );
     2270                                if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>
    22672271                                        <?php echo $args['must_log_in']; ?>
    22682272                                        <?php
    22692273                                        /**