[buddypress-trac] [BuddyPress Trac] #6173: 'Members' menu selected when current page user profile page

buddypress-trac noreply at wordpress.org
Sat May 2 01:41:50 UTC 2015

#6173: 'Members' menu selected when current page user profile page
 Reporter:  kaffeeguru              |       Owner:  johnjamesjacoby
     Type:  defect (bug)            |      Status:  accepted
 Priority:  normal                  |   Milestone:  2.3
Component:  Component - Core        |     Version:  2.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |

Comment (by boonebgorges):

 Is it possible for us to detect whether the menu would have more than one
 highlighted item, and then ensure that only one gets highlighted, in a
 predictable way? The behavior described here, for example, only comes up
 when there's a 'My Profile' link in the menu. Seems to me that if such a
 link is present, we should give it the current_page_item class (since it's
 more specific than the directory page); but in that case, we'd want to
 remove the class from the directory page. Too hacky?

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6173#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list