Commit 1dbbfc91 authored by webchick's avatar webchick

Issue #2263849 by cs_shadow: Typo in comment/comment.tokens.inc ('tokes' instead of 'tokens').

parent 1e2bfb87
......@@ -86,7 +86,7 @@ function comment_token_info() {
'description' => t("The entity the comment was posted to."),
'type' => 'entity',
);
// Support legacy comment node tokens, since tokes are embedded in user data
// Support legacy comment node tokens, since tokens are embedded in user data
// and can't be upgraded directly.
$comment['node'] = array(
'name' => t("Node"),
......@@ -202,7 +202,7 @@ function comment_tokens($type, $tokens, array $data = array(), array $options =
break;
case 'node':
// Support legacy comment node tokens, since tokes are embedded in
// Support legacy comment node tokens, since tokens are embedded in
// user data and can't be upgraded directly.
// @todo Remove in Drupal 9, see https://drupal.org/node/2031901.
if ($comment->getCommentedEntityTypeId() == 'node') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment