The format_username() function should expect a full user account object, not a half-assed object loaded from five fields in the database. This messes up modules like Realname which pass on the user object to the token system, which also expects a full user object.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
2.5 KB
BenK’s picture

Subscribing

haydeniv’s picture

I think this is going to be a 7.x only change because Views is in core now and I believe this page will be replaced by views.

haydeniv’s picture

Issue tags: -realname, -format_username

Status: Needs review » Needs work

The last submitted patch, 976062-user-admin-account-load-D7.patch, failed testing.