Download & Extend

The [node:author] token does not use format_username()

Project:Drupal core
Version:8.x-dev
Component:token system
Category:bug report
Priority:normal
Assigned:Dave Reid
Status:closed (fixed)
Issue tags:needs backport to D7, token

Issue Summary

The [node:author] token just outputs $node->name. Any time a user name is output the format_username() function should be used.

Comments

#1

Status:active» needs review
AttachmentSizeStatusTest resultOperations
1185842-node-author-token-format-username.patch1.47 KBIdlePASSED: [[SimpleTest]]: [MySQL] 30,035 pass(es).View details

#2

Component:node system» token system

#3

Status:needs review» reviewed & tested by the community
Issue tags:+needs backport to D7

#4

Status:reviewed & tested by the community» fixed

Good catch! Committed to 7.x and 8.x. Thanks.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here