From 9dd2ce283e60b066386be6d799eded5c72d0139f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 15 Sep 2009 20:03:18 +0000 Subject: [PATCH] - Patch #565792 by pwolanin, salvis: follow-up on theme_username refactoring. --- includes/theme.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/theme.inc b/includes/theme.inc index bb129772320..c134df5bb3f 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1913,9 +1913,8 @@ function template_preprocess_username(&$variables) { if (drupal_strlen($variables['object']->name) > 20) { $variables['object']->name = drupal_substr($variables['object']->name, 0, 15) . '...'; } - // Make sure these are safe for use in the theme function. + // Make sure name is safe for use in the theme function. $variables['object']->name = check_plain($variables['object']->name); - $variables['object']->extra = check_plain($variables['object']->extra); } /**