WordPress.org

Make WordPress Core

Changeset 19856


Ignore:
Timestamp:
02/07/12 19:13:30 (2 years ago)
Author:
nacin
Message:

Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/comment.php

    r19782 r19856  
    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 
Note: See TracChangeset for help on using the changeset viewer.