[buddypress-trac] [BuddyPress] #5198: WP menu current-menu-item class and BP components

buddypress-trac noreply at wordpress.org
Sun Oct 13 23:45:44 UTC 2013


#5198: WP menu current-menu-item class and BP components
-------------------------------+------------------------------
 Reporter:  henrywright        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Core               |     Version:  1.8.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => reporter-feedback


Comment:

 WordPress adds the 'current-menu-item' class in wp-includes/nav-menu-
 template.php, starting around line 350. The logic is something like this:
 if the queried object is the 'Members' page, then the 'Members' nav item
 should get the 'current-menu-item' class. The way BP's template loader
 works, all pages underneath /members/ correspond to the 'Members' WP page.
 So, what you're seeing here is expected behavior.

 I can see why it might not be what you want, but it's not obvious to me
 what the ideal behavior *should* be. Can you give details about what you'd
 expect to see?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5198#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list