Make WordPress Core

Ticket #23797: 23797.5.diff

File 23797.5.diff, 1.8 KB (added by MikeHansenMe, 10 years ago)
  • src/wp-includes/comment-template.php

     
    19131913 *                                        Default: '<h3 id="reply-title" class="comment-reply-title">'.
    19141914 *     @type string $title_reply_after    HTML displayed after the comment form title.
    19151915 *                                        Default: '</h3>'.
     1916 *     @type string $cancel_reply_before  HTML displayed before the cancel reply link.
     1917 *     @type string $cancel_reply_after   HTML displayed after the cancel reply link.
    19161918 *     @type string $cancel_reply_link    The translatable 'cancel reply' button label. Default 'Cancel reply'.
    19171919 *     @type string $label_submit         The translatable 'submit' button label. Default 'Post a comment'.
    19181920 *     @type string $submit_button        HTML format for the Submit button.
     
    19761978                'title_reply_to'       => __( 'Leave a Reply to %s' ),
    19771979                'title_reply_before'   => '<h3 id="reply-title" class="comment-reply-title">',
    19781980                'title_reply_after'    => '</h3>',
     1981                'cancel_reply_before'  => ' <small>',
     1982                'cancel_reply_after'   => '</small>',
    19791983                'cancel_reply_link'    => __( 'Cancel reply' ),
    19801984                'label_submit'         => __( 'Post Comment' ),
    19811985                'submit_button'        => '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />',
     
    20122016
    20132017                                comment_form_title( $args['title_reply'], $args['title_reply_to'] );
    20142018
    2015                                 echo ' <small>';
     2019                                echo $args['cancel_reply_before'];
    20162020
    20172021                                cancel_comment_reply_link( $args['cancel_reply_link'] );
    20182022
    2019                                 echo '</small>';
     2023                                echo $args['cancel_reply_after'];
    20202024
    20212025                                echo $args['title_reply_after'];
    20222026                                ?>