Make WordPress Core

Changeset 9416


Ignore:
Timestamp:
10/30/2008 03:56:39 PM (16 years ago)
Author:
ryan
Message:

Respect respond_id. props filosofo. fixes #8011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r9406 r9416  
    930930        $link = '<a rel="nofollow" href="' . site_url('wp-login.php?redirect_to=' . get_permalink()) . '">' . $login_text . '</a>';
    931931    else
    932         $link = "<a rel='nofollow' href='" . wp_specialchars( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#respond' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\")'>$reply_text</a>";
     932        $link = "<a rel='nofollow' href='" . wp_specialchars( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#" . $respond_id . "' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\")'>$reply_text</a>";
    933933
    934934    return apply_filters('comment_reply_link', $before . $link . $after, $args, $comment, $post);
Note: See TracChangeset for help on using the changeset viewer.