Commit 4f6dab56 authored by Dries's avatar Dries

- Patch #740304 by coltrane: Seven theme doesn't filter menu descriptions.

parent de393370
......@@ -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>';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment