WordPress.org

Make WordPress Core

Ticket #16433: 16433.patch

File 16433.patch, 1.2 KB (added by merty, 9 years ago)
  • comment-template.php

     
    10591059        if ( get_option('comment_registration') && !$user_ID )
    10601060                $link = '<a rel="nofollow" class="comment-reply-login" href="' . esc_url( wp_login_url( get_permalink() ) ) . '">' . $login_text . '</a>';
    10611061        else
    1062                 $link = "<a class='comment-reply-link' href='" . esc_url( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#" . $respond_id . "' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\", \"$post->ID\")'>$reply_text</a>";
     1062                $link = "<a class='comment-reply-link' href='" . esc_url( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#" . $respond_id . "' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\", \"$post->ID\")' title='" . __('Reply to ') . get_comment_author( $comment->comment_ID ) . " #" . $comment->comment_ID . "'>$reply_text</a>";
    10631063        return apply_filters('comment_reply_link', $before . $link . $after, $args, $comment, $post);
    10641064}
    10651065