[wp-trac] [WordPress Trac] #17076: Nav menus produce duplicate classes on li elements for Page parents/ancestors
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 9 05:53:21 UTC 2011
#17076: Nav menus produce duplicate classes on li elements for Page
parents/ancestors
--------------------------+------------------------------
Reporter: andymacb | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: trivial | Resolution: invalid
Keywords: |
--------------------------+------------------------------
Changes (by solarissmoke):
* status: new => closed
* resolution: => invalid
Comment:
There aren't any duplicates in that list.
It does have `current-page-ancestor` as well as `current_page_ancestor`,
and `current-page-parent` as well as `current_page_ancestor` (note
underscore vs hyphens), but these are not duplicates. The underscored
classes are there for backward compatibility with previous versions of
wordpress.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17076#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list