[wp-trac] [WordPress Trac] #14053: Weird, and seemingly incorrect, classes on menu items

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 22 22:01:21 UTC 2010


#14053: Weird, and seemingly incorrect, classes on menu items
--------------------------+-------------------------------------------------
 Reporter:  nathanrice    |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  Unassigned 
Component:  Menus         |     Version:             
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by filosofo):

 ` fix-menu-item-home-class.14053.diff` should fix the home-link class
 issue. Good catch.

 I think the idea behind using `menu-item-type-post_type` is that now it's
 increasingly likely for there to be unexpected post types; hence the more
 general class can apply styling rules to unanticipated menu items.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14053#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list