[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
Sun Jun 20 01:22:50 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:
--------------------------+-------------------------------------------------
Comment(by filosofo):
The problem is not identifying the current query; it's matching it to the
menu item's URL.
Menu item's URL: `http://site.com/`
Requested page: `http://site.com/?foo=bar`
How should WP know that the second is supposed to be equivalent to the
first?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13994#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list