wp_nav_menu classes not named consistently
|Reported by:||iandunn||Owned by:|
The CSS classes assigned by wp_nav_menu seem to randomly switch between using dashes and underscores to separate words. For example
I can see a justification for making menu-item-type-post_type use an underscore to match the database field, function parameters, etc, but switching between dashes and underscore within the same class name is counter-intuitive. I don't see any reason why current_page_item and current-menu-item wouldn't match.
I think either dashes or underscores should be chosen and used exclusively across all class names.