Changeset 3036 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 11/11/2005 12:32:15 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r2832 r3036 96 96 if ( current_user_can('edit_post', $comment->comment_post_ID) ) { 97 97 echo " | <a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">" . __('Edit Comment') . "</a>"; 98 }99 if ( current_user_can('edit_post', $comment->comment_post_ID) ) {100 98 echo " | <a href=\"post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by "%s".\\n"Cancel" to stop, "OK" to delete."), wp_specialchars( $comment->comment_author, 1 )) . "' );\">" . __('Delete Comment') . "</a> — "; 101 99 } // end if any comments to show
Note: See TracChangeset
for help on using the changeset viewer.