Ticket #16433: 16433.patch
File 16433.patch, 1.2 KB (added by , 14 years ago) |
---|
-
comment-template.php
1059 1059 if ( get_option('comment_registration') && !$user_ID ) 1060 1060 $link = '<a rel="nofollow" class="comment-reply-login" href="' . esc_url( wp_login_url( get_permalink() ) ) . '">' . $login_text . '</a>'; 1061 1061 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>"; 1063 1063 return apply_filters('comment_reply_link', $before . $link . $after, $args, $comment, $post); 1064 1064 } 1065 1065