X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..refs/heads/pristine:/wp-admin/edit-form-comment.php diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 92911db2..2ae7957f 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -23,7 +23,7 @@ if ( !defined('ABSPATH') )
comment_post_ID > 0 ): +if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ID > 0 ) : $comment_link = get_comment_link( $comment ); ?>
@@ -82,14 +82,14 @@ if ( $comment->comment_post_ID > 0 ):
-
-
- +
+
+
comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\n"; ?>
- +