diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-24 09:26:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-24 09:26:37 +0000 |
commit | 4f6dab5675b42d9f4ba4f0ad885423342cdce7b0 (patch) | |
tree | 4c244a1f127c100416cc4310bdc81a8ea69db931 /themes/seven/template.php | |
parent | de39337076173228d37084997f9c8ae8b52c839f (diff) | |
download | brdo-4f6dab5675b42d9f4ba4f0ad885423342cdce7b0.tar.gz brdo-4f6dab5675b42d9f4ba4f0ad885423342cdce7b0.tar.bz2 |
- Patch #740304 by coltrane: Seven theme doesn't filter menu descriptions.
Diffstat (limited to 'themes/seven/template.php')
-rw-r--r-- | themes/seven/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php index 88a67a09d..472c35538 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -52,7 +52,7 @@ function seven_admin_block_content($variables) { $output .= '<li class="leaf">'; $output .= l($item['title'], $item['href'], $item['localized_options']); if (!system_admin_compact_mode()) { - $output .= '<div class="description">' . $item['description'] . '</div>'; + $output .= '<div class="description">' . filter_xss_admin($item['description']) . '</div>'; } $output .= '</li>'; } |