Opened 7 years ago
Last modified 5 years ago
#43076 assigned defect (bug)
current-menu-item for archive menu item on singular page
Reported by: | sebastian.pisula | Owned by: | audrasjb |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | has-patch reporter-feedback needs-refresh |
Focuses: | Cc: |
Description
If I have CPT with archive and singular page and I add to menu url to archive and I go to singular page of CPT then should be add current-menu-item to menu item of archive
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Hi and thanks for the ticket and you patch,
I think the patch will need some refresh and some correction to fit better with WPCS. However, I'm not sure it's 100% relevant to add
current-menu-item
class to archive page when we are in a singular Post: the Post may belong to different taxonomy terms and also, the singular Post itself may appear in the menu items.