Make WordPress Core


Ignore:
Timestamp:
10/09/2008 11:11:56 AM (16 years ago)
Author:
azaozz
Message:

No jQuery requirement for comment-reply.js, see #7635

File:
1 edited

Legend:

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

    r9112 r9113  
    911911        $link = '<a rel="nofollow" href="' . site_url('wp-login.php?redirect_to=' . get_permalink()) . '">' . $login_text . '</a>';
    912912    else
    913         $link = "<a rel='nofollow' href='" . wp_specialchars( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#respond' onclick='moveAddCommentForm(\"$add_below-$comment->comment_ID\", $comment->comment_ID, \"$respond_id\"); return false;'>$reply_text</a>";
     913        $link = "<a rel='nofollow' href='" . wp_specialchars( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#respond' onclick='addComment.moveForm(\"$add_below-$comment->comment_ID\", $comment->comment_ID, \"$respond_id\"); return false;'>$reply_text</a>";
    914914
    915915    return $before . $link . $after;
     
    939939function comment_parent_field() {
    940940    $replytoid = isset($_GET['replytocom']) ? (int) $_GET['replytocom'] : 0;
    941     echo "<input type='hidden' name='comment_parent' id='comment-parent' value='$replytoid' />\n";
     941    echo "<input type='hidden' name='comment_parent' id='comment_parent' value='$replytoid' />\n";
    942942}
    943943
Note: See TracChangeset for help on using the changeset viewer.