Ticket #16433: 16433.3.patch
File 16433.3.patch, 1.2 KB (added by , 10 years ago) |
---|
-
wp-includes/comment-template.php
1337 1337 if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) { 1338 1338 $link = '<a rel="nofollow" class="comment-reply-login" href="' . esc_url( wp_login_url( get_permalink() ) ) . '">' . $args['login_text'] . '</a>'; 1339 1339 } else { 1340 $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>";1340 $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\")' aria-label='" . sprintf( __( 'Reply to %s' ), esc_attr( $comment->comment_author ) ) . "'>$reply_text</a>"; 1341 1341 } 1342 1342 /** 1343 1343 * Filter the comment reply link.