Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.
This repository was archived by the owner on Jun 21, 2022. It is now read-only.

Deep linking does not update menu item highlights #54

Description

@goblindegook

Navigating straight to a deep link does not update the menu appearance.

For example, pointing your browser to http://b3.dev/category/images does not highlight the menu items in the Category > Images path.

The onMenuItemUpdate event handler in the new MenuItemActivation behavior should also look at the menu item's object (containing the post or term ID), object_parent and object_type to determine whether the menu should be highlighted when the application loads.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions