"Trash" status for comments, first run, props caesarsgrunt, see #4529

git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-07-21 03:11:12 +00:00
parent fc37d64a90
commit 8db7e5a07c
14 changed files with 211 additions and 80 deletions

View File

@@ -44,6 +44,9 @@ case 'editcomment' :
if ( !current_user_can('edit_post', $comment->comment_post_ID) )
comment_footer_die( __('You are not allowed to edit comments on this post.') );
if ( 'deleted' == $comment->comment_status )
comment_footer_die( __('This comment has been deleted. Please move it out of the Trash if you want to edit it.') );
$comment = get_comment_to_edit( $comment_id );
include('edit-form-comment.php');