[wp-trac] [WordPress Trac] #13994: Menu Item "Home" won't have class "current-menu-item" in case of there are query string in the home url

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 19 11:53:08 UTC 2010


#13994: Menu Item "Home" won't have class "current-menu-item" in case of there are
query string in the home url
--------------------------+-------------------------------------------------
 Reporter:  kamiyeye      |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0.1
Component:  General       |     Version:  3.0  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by kamiyeye):

 Repro steps:[[BR]]
 ========== [[BR]]
 1. Add "Home" to the navigation menu [[BR]]
 2. Navigate to  http://thetestsite/?style=stylename [[BR]]
 3. Check the css class of "Home" on the navigation menu[[BR]]
 [[BR]]
 Expected:[[BR]]
 ========== [[BR]]
 There is the class "current-menu-item"[[BR]]
 [[BR]]
 Actual: [[BR]]
 ========== [[BR]]
 There isn't the class "current-menu-item"[[BR]]
 [[BR]]
 Description: [[BR]]
 ========== [[BR]]
 1. It works when there are no query string in the url say:
 http://thetestsite/ [[BR]]
 2. It is related to Changeset 14457

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


More information about the wp-trac mailing list