Make WordPress Core

Ticket #31333: 31333.1.diff

File 31333.1.diff, 681 bytes (added by nazmul.hossain.nihal, 10 years ago)

patch for comment-template.php

  • wp-includes/comment-template.php

     
    14081408                );
    14091409
    14101410                $link = sprintf( "<a class='comment-reply-link' href='%s' onclick='%s' aria-label='%s'>%s</a>",
    1411                         esc_url( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#" . $args['respond_id'],
     1411                        esc_url( add_query_arg( 'replytocom', $comment->comment_ID, get_permalink($post->ID) ) ) . "#" . $args['respond_id'],
    14121412                        $onclick,
    14131413                        esc_attr( sprintf( $args['reply_to_text'], $comment->comment_author ) ),
    14141414                        $args['reply_text']