WordPress.org

Make WordPress Core

Ticket #35624: comment_form_title-reply_no_js.patch

File comment_form_title-reply_no_js.patch, 653 bytes (added by d4z_c0nf, 5 years ago)
  • wp-includes/comment-template.php

     
    18281828                echo $noreplytext;
    18291829        else {
    18301830                $comment = get_comment($replytoid);
    1831                 $author = ( $linktoparent ) ? '<a href="#comment-' . get_comment_ID() . '">' . get_comment_author( $comment ) . '</a>' : get_comment_author( $comment );
     1831                $author = ( $linktoparent ) ? '<a href="#comment-' . $replytoid . '">' . get_comment_author( $comment ) . '</a>' : get_comment_author( $comment );
    18321832                printf( $replytext, $author );
    18331833        }
    18341834}