Ticket #4529: 4529.notices.patch
| File 4529.notices.patch, 649 bytes (added by Viper007Bond, 4 years ago) |
|---|
-
wp-admin/comment.php
44 44 if ( !current_user_can('edit_post', $comment->comment_post_ID) ) 45 45 comment_footer_die( __('You are not allowed to edit comments on this post.') ); 46 46 47 if ( 'trash' == $comment->comment_status )47 if ( !empty($comment->comment_status) && 'trash' == $comment->comment_status ) 48 48 comment_footer_die( __('This comment is in the Trash. Please move it out of the Trash if you want to edit it.') ); 49 49 50 50 $comment = get_comment_to_edit( $comment_id );
