Changeset 9113 for trunk/wp-includes/comment-template.php
- Timestamp:
- 10/09/2008 11:11:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r9112 r9113 911 911 $link = '<a rel="nofollow" href="' . site_url('wp-login.php?redirect_to=' . get_permalink()) . '">' . $login_text . '</a>'; 912 912 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>"; 914 914 915 915 return $before . $link . $after; … … 939 939 function comment_parent_field() { 940 940 $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"; 942 942 } 943 943
Note: See TracChangeset
for help on using the changeset viewer.