Skip to content

Commit

Permalink
Revert "Use check_markup in _gin_admin_list()."
Browse files Browse the repository at this point in the history
This reverts commit 989c6b0.
  • Loading branch information
laryn committed Dec 22, 2023
1 parent 5e65c5d commit 37e0053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function _gin_admin_list($content, $empty_message = '') {
$output .= l($item['title'], $item['href'], $item['localized_options']);
$output .= '<dt class="admin-item__title">' . $item['title'] . '</dt>';
if (isset($item['description'])) {
$desc = check_markup($item['description']);
$desc = filter_xss_admin($item['description']);
$item['localized_options']['attributes']['title'] = $desc;
$output .= '<dd class="admin-item__description">' . $desc . '</dd>';
}
Expand Down

0 comments on commit 37e0053

Please sign in to comment.