Ticket #1774: edit-comments.php.diff
File edit-comments.php.diff, 1018 bytes (added by , 19 years ago) |
---|
-
edit-comments.php
95 95 <p><?php _e('Posted'); echo ' '; comment_date('M j, g:i A'); 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 102 100 // Get post title