diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-01 21:26:44 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-01 21:26:44 +0000 |
commit | ca8eee7545f75c199bde0121bd6a0792d67c5b91 (patch) | |
tree | 5e805f30c93c7a005e0cb422dd0ea95ca849d84f /modules/user/user.api.php | |
parent | b882d991d01544fb458cb58614fdba4fab0997eb (diff) | |
download | brdo-ca8eee7545f75c199bde0121bd6a0792d67c5b91.tar.gz brdo-ca8eee7545f75c199bde0121bd6a0792d67c5b91.tar.bz2 |
#192056 by effulgentsia, Dave Cohen, andypost, hswong3i, geodaniel, pwolanin, and dahacouk: Ensure user's raw login name is never output directly.
Diffstat (limited to 'modules/user/user.api.php')
-rw-r--r-- | modules/user/user.api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.api.php b/modules/user/user.api.php index aca316ac2..c1e04ad53 100644 --- a/modules/user/user.api.php +++ b/modules/user/user.api.php @@ -320,7 +320,7 @@ function hook_user_view($account) { $account->content['summary']['blog'] = array( '#type' => 'user_profile_item', '#title' => t('Blog'), - '#markup' => l(t('View recent blog entries'), "blog/$account->uid", array('attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => $account->name))))), + '#markup' => l(t('View recent blog entries'), "blog/$account->uid", array('attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => format_username($account)))))), '#attributes' => array('class' => array('blog')), ); } |