Make WordPress Core

Ticket #1774: edit-comments.php.diff

File edit-comments.php.diff, 1018 bytes (added by johnjosephbachir, 19 years ago)

diff for source:trunk/wp-admin/edit-comments.php#2832

  • edit-comments.php

     
    9595        <p><?php _e('Posted'); echo ' '; comment_date('M j, g:i A'); 
    9696                        if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
    9797                                echo " | <a href=\"post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">" . __('Edit Comment') . "</a>";
    98                         }
    99                         if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
    10098                                echo " | <a href=\"post.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by &quot;%s&quot;.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), wp_specialchars( $comment->comment_author, 1 ))  . "' );\">" . __('Delete Comment') . "</a> &#8212; ";
    10199                        } // end if any comments to show
    102100                        // Get post title