Make WordPress Core

Ticket #36364: comment-template.patch

File comment-template.patch, 1.8 KB (added by kassy000, 9 years ago)
  • .php

    diff --git a/comment-template_base.php b/comment-template.php
    index ad5b9ca..3b19b94 100644
    old new function wp_list_comments( $args = array(), $comments = null ) { 
    21112111 *     @type string $title_reply_to       The translatable 'reply-to' button label. Default 'Leave a Reply to %s',
    21122112 *                                        where %s is the author of the comment being replied to.
    21132113 *     @type string $title_reply_before   HTML displayed before the comment form title.
    2114  *                                        Default: '<h3 id="reply-title" class="comment-reply-title">'.
     2114 *                                        Default: '<h2 id="reply-title" class="comment-reply-title">'.
    21152115 *     @type string $title_reply_after    HTML displayed after the comment form title.
    2116  *                                        Default: '</h3>'.
     2116 *                                        Default: '</h2>'.
    21172117 *     @type string $cancel_reply_before  HTML displayed before the cancel reply link.
    21182118 *     @type string $cancel_reply_after   HTML displayed after the cancel reply link.
    21192119 *     @type string $cancel_reply_link    The translatable 'cancel reply' button label. Default 'Cancel reply'.
    function comment_form( $args = array(), $post_id = null ) { 
    21782178                'name_submit'          => 'submit',
    21792179                'title_reply'          => __( 'Leave a Reply' ),
    21802180                'title_reply_to'       => __( 'Leave a Reply to %s' ),
    2181                 'title_reply_before'   => '<h3 id="reply-title" class="comment-reply-title">',
    2182                 'title_reply_after'    => '</h3>',
     2181                'title_reply_before'   => '<h2 id="reply-title" class="comment-reply-title">',
     2182                'title_reply_after'    => '</h2>',
    21832183                'cancel_reply_before'  => ' <small>',
    21842184                'cancel_reply_after'   => '</small>',
    21852185                'cancel_reply_link'    => __( 'Cancel reply' ),