Skip to content
Snippets Groups Projects
Commit 01b4583a authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#164330 follow up by webernet and Crell: remove XHTML invalidating ID...

#164330 follow up by webernet and Crell: remove XHTML invalidating ID attribute on links, where the classes are enough to identify them
parent f803a821
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1132,7 +1132,6 @@ function menu_navigation_links($menu_name, $level = 0) {
$l = $item['link']['options'];
$l['href'] = $item['link']['href'];
$l['title'] = $item['link']['title'];
$l['attributes']['id'] = $item['link']['mlid'];
// Keyed with unique menu id to generate classes from theme_links().
$links['menu-'. $item['link']['mlid']] = $l;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment