diff --git a/CHANGELOG.md b/CHANGELOG.md index 65b44dd5..0538596c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Stanford Profile +9.2.8 +-------------------------------------------------------------------------------- +- Don't replace attributes on menu link items. + 9.2.7 -------------------------------------------------------------------------------- - Moved the help region below the brand bar. diff --git a/soe_profile.info.yml b/soe_profile.info.yml index 86c070ac..1f206924 100644 --- a/soe_profile.info.yml +++ b/soe_profile.info.yml @@ -1,6 +1,6 @@ name: 'SOE Profile' description: 'Jumpstart Website Profile' -version: 9.2.7 +version: 9.2.8 type: profile project: Jumpstart core_version_requirement: ^9 || ^10 diff --git a/themes/stanford_basic/stanford_basic.theme b/themes/stanford_basic/stanford_basic.theme index d3044749..5561f799 100755 --- a/themes/stanford_basic/stanford_basic.theme +++ b/themes/stanford_basic/stanford_basic.theme @@ -295,9 +295,7 @@ function stanford_basic_preprocess_menu(&$variables, $hook) { // If path is current_path, add aria-current to the link. if (parse_url($item['url']->toString(), PHP_URL_PATH) == $current_path) { $link_options = $variables['items'][$key]['url']->getOptions(); - $link_options['attributes']= [ - 'aria-current' => 'true', - ]; + $link_options['attributes']['aria-current'] = 'true'; $variables['items'][$key]['url']->setOptions($link_options); $variables['items'][$key]['attributes']['aria-current'] = 'true'; }