Ticket #9432: 9432-comment-dashboard.patch
File 9432-comment-dashboard.patch, 981 bytes (added by , 16 years ago) |
---|
-
wp-admin/includes/dashboard.php
525 525 $comment_post_url = get_edit_post_link( $comment->comment_post_ID ); 526 526 $comment_post_title = get_the_title( $comment->comment_post_ID ); 527 527 $comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>"; 528 $comment_link = '<a class="comment-link" href="' . get_comment_link() . '">#</a>';528 $comment_link = '<a class="comment-link" href="' . clean_url(get_comment_link()) . '">#</a>'; 529 529 530 530 $delete_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) ); 531 531 $approve_url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "approve-comment_$comment->comment_ID" ) );