Opened 8 years ago
Last modified 5 years ago
#38836 reviewing enhancement
A current_page_parent CSS class is not added to relevant WP menu items if the query is for a custom post type single item
Reported by: | henry.wright | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | has-patch has-unit-tests good-first-bug |
Focuses: | Cc: |
Description
A current_page_parent
CSS class doesn't get added to relevant post type archive menu items if the current query is for a custom post type single item.
Attachments (3)
Change History (15)
#2
@
8 years ago
- Component changed from General to Menus
- Type changed from defect (bug) to enhancement
#4
@
8 years ago
- Keywords needs-unit-tests added
Patch looks ok to me. Let's get some unit test in place for it.
#5
@
8 years ago
- Keywords has-unit-tests added; needs-unit-tests removed
38836.2.diff adds unit tests.
#6
@
6 years ago
- Keywords needs-refresh good-first-bug added
- Milestone changed from Awaiting Review to Future Release
- Version 4.6.1 deleted
The latest patch needs a refresh to apply cleanly.
@
5 years ago
Refreshed the patch. I've re-test the patch and re-run the unit tests as well. Everything looks good.
#9
@
5 years ago
- Milestone changed from Future Release to 5.3
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
This ticket was mentioned in Slack in #core by sergey. View the logs.
5 years ago
Note: See
TracTickets for help on using
tickets.
Steps to reproduce
Note that the
current_page_parent
CSS class isn't added to the menu item.