Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The [node:author] token just outputs $node->name. Any time a user name is output the format_username() function should be used.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1185842-node-author-token-format-username.patch | 1.47 KB | Dave Reid |
Comments
Comment #1
Dave ReidComment #2
Dave ReidComment #3
Damien Tournoud CreditAttribution: Damien Tournoud commentedComment #4
Dries CreditAttribution: Dries commentedGood catch! Committed to 7.x and 8.x. Thanks.