diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-04 09:03:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-04 09:03:08 +0000 |
commit | e5e3d279e299b00890e86f8fa2f4b48ca1ce9948 (patch) | |
tree | 1270c28380af0f84d8288d77a63dd1e788bf9c26 /includes | |
parent | d33bad9fa1416b98bd5544f42ed1f5790de2e725 (diff) | |
download | brdo-e5e3d279e299b00890e86f8fa2f4b48ca1ce9948.tar.gz brdo-e5e3d279e299b00890e86f8fa2f4b48ca1ce9948.tar.bz2 |
- Patch #461938 by Kars-T, Garrett Albright, JamesAn, grendzy: fixed inconsistent use of filter_xss_admin() on () and ().
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index ebee7255a..f8ebbffb7 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -2259,12 +2259,12 @@ function template_preprocess_html(&$variables) { // Construct page title. if (drupal_get_title()) { - $head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'Drupal')); + $head_title = array(strip_tags(drupal_get_title()), check_plain(variable_get('site_name', 'Drupal'))); } else { - $head_title = array(variable_get('site_name', 'Drupal')); + $head_title = array(check_plain(variable_get('site_name', 'Drupal'))); if (variable_get('site_slogan', '')) { - $head_title[] = variable_get('site_slogan', ''); + $head_title[] = filter_xss_admin(variable_get('site_slogan', '')); } } $variables['head_title'] = implode(' | ', $head_title); |