[wp-trac] [WordPress Trac] #9495: current_page_item class too liberal

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 9 09:43:33 GMT 2009


#9495: current_page_item class too liberal
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous              
     Type:  defect (bug)       |      Status:  new                    
 Priority:  normal             |   Milestone:  2.8                    
Component:  Template           |     Version:  2.8                    
 Severity:  minor              |    Keywords:  needs-patch 2nd-opinion
-------------------------------+--------------------------------------------
 The Page walker sets this in the li tag.

 Is it me, or not all browsers support css such as the following?

 {{{
 .current_page_item > a {
   font-weight: bold;
 }
 }}}

 Shouldn't we give the class to the anchor tag directly?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9495>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list