WordPress.org

Make WordPress Core

Changeset 11793


Ignore:
Timestamp:
08/09/2009 10:58:41 AM (9 years ago)
Author:
westi
Message:

Fix notice when trying to view comments due to Trash implementation.

File:
1 edited

Legend:

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

    r11755 r11793  
    4545        comment_footer_die( __('You are not allowed to edit comments on this post.') );
    4646
    47     if ( 'trash' == $comment->comment_status )
     47    if ( 'trash' == $comment->comment_approved )
    4848        comment_footer_die( __('This comment is in the Trash. Please move it out of the Trash if you want to edit it.') );
    4949   
Note: See TracChangeset for help on using the changeset viewer.