[wp-trac] [WordPress Trac] #18643: Twenty Eleven incorrectly only uses .current_page_item for nav menu styling
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 11 21:43:29 UTC 2011
#18643: Twenty Eleven incorrectly only uses .current_page_item for nav menu styling
--------------------------+-----------------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.3
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
Twenty Eleven only highlights pages in its nav menu due to using CSS
classes targeted at `wp_page_menu()` output. It works with custom nav
menus because that functionality outputs backwards compatibility classes.
It should also highlight `.current-menu-item` and `.current-menu-
ancestor`.
To reproduce, add some categories to your nav menu and then click on one
of them. They won't be bolded as they should be.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18643>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list