[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 12:17:41 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:  Menus         |     Version:  3.0  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
Changes (by dd32):

  * component:  General => Menus


Old description:

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

New description:

 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]]
 Desc:[[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:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list