Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / comment / src / CommentFieldItemList.php
index 7a4cdad4e6d82ef9d0e7cda048dd13a76684163e..73215e86981615aa6cf6d395cee3de263ce56be3 100644 (file)
@@ -50,7 +50,7 @@ class CommentFieldItemList extends FieldItemList {
       return $return_as_object ? $result : $result->isAllowed();
     }
     if ($operation === 'view') {
-      // Only users with either post comments or access comments permisison can
+      // Only users with "post comments" or "access comments" permission can
       // view the field value. The formatter,
       // Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter,
       // takes care of showing the thread and form based on individual