diff --git a/core/modules/comment/src/CommentPostRenderCache.php b/core/modules/comment/src/CommentPostRenderCache.php index 04e9898..2cd451d 100644 --- a/core/modules/comment/src/CommentPostRenderCache.php +++ b/core/modules/comment/src/CommentPostRenderCache.php @@ -190,7 +190,7 @@ protected function buildLinks(CommentInterface $entity, EntityInterface $comment $links = array(); $status = $commented_entity->get($entity->getFieldName())->status; - if ($status == CommentItemInterface::OPEN) { + if ($status == CommentItemInterface::OPEN || (CommentItemInterface::CLOSED && $this->currentUser->hasPermission('administer comments'))) { if ($entity->access('delete')) { $links['comment-delete'] = array( 'title' => t('Delete'),