Ticket #23797: 23797.diff
File 23797.diff, 1.8 KB (added by , 12 years ago) |
---|
-
wp-includes/comment-template.php
1628 1628 '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>', 1629 1629 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>', 1630 1630 '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>', 1631 'comment_reply_markup' => '<h3 class="reply-title">%1$s <small>%2$s</small></h3>', 1631 1632 'id_form' => 'commentform', 1632 1633 'id_submit' => 'submit', 1633 1634 'title_reply' => __( 'Leave a Reply' ), … … 1643 1644 <?php if ( comments_open( $post_id ) ) : ?> 1644 1645 <?php do_action( 'comment_form_before' ); ?> 1645 1646 <div id="respond"> 1646 <h3 id="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> 1647 <?php printf( $args['comment_reply_markup'], 1648 comment_form_title( $args['title_reply'], 1649 $args['title_reply_to'] ), 1650 cancel_comment_reply_link( $args['cancel_reply_link'] ); ?> 1647 1651 <?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?> 1648 1652 <?php echo $args['must_log_in']; ?> 1649 1653 <?php do_action( 'comment_form_must_log_in_after' ); ?>