From 147d20782304c3c833a56f794ba1e14891d2a32e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 30 Oct 2008 15:56:39 +0000 Subject: [PATCH] Respect respond_id. props filosofo. fixes #8011 git-svn-id: https://develop.svn.wordpress.org/trunk@9416 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 10c7e28420..e0cf4cad25 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -929,7 +929,7 @@ function get_comment_reply_link($args = array(), $comment = null, $post = null) if ( get_option('comment_registration') && !$user_ID ) $link = '' . $login_text . ''; else - $link = "comment_ID ) ) . "#respond' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\")'>$reply_text"; + $link = "comment_ID ) ) . "#" . $respond_id . "' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\")'>$reply_text"; return apply_filters('comment_reply_link', $before . $link . $after, $args, $comment, $post); }