WordPress.org

Make WordPress Core

Ticket #19977: 19977.diff

File 19977.diff, 615 bytes (added by josephscott, 4 years ago)
  • wp-admin/comment.php

     
    7373        if ( 'trash' == $comment->comment_approved ) 
    7474                comment_footer_die( __('This comment is in the Trash. Please move it out of the Trash if you want to edit it.') ); 
    7575 
    76         if ( 'spam' == $comment->comment_approved ) 
    77                 comment_footer_die( __('This comment is marked as Spam. Please mark it as Not Spam if you want to edit it.') ); 
    78  
    7976        $comment = get_comment_to_edit( $comment_id ); 
    8077 
    8178        include('./edit-form-comment.php');