[wp-trac] [WordPress Trac] #13543: menu selected page class problem

WordPress Trac wp-trac at lists.automattic.com
Fri May 28 21:17:43 UTC 2010


#13543: menu selected page class problem
--------------------------+-------------------------------------------------
 Reporter:  Angeloverona  |        Owner:  filosofo
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  3.0     
Component:  Menus         |      Version:  3.0     
 Severity:  normal        |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by nacin):

 WordPress doesn't really have a way of knowing what your templates are
 doing, at least not much more than what we're already detecting.

 Of note, single-work.php is not for the blog post called "work," it is
 specifically for the post type called "work." The template hierarchy only
 has single-$posttype.php and single.php for single templates currently.
 Pages and attachments both have more; we'll likely revisit in 3.1.

 There's a nav_menu_css_class filter, so closing as fixed.

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


More information about the wp-trac mailing list