[buddypress-trac] [BuddyPress] #3621: current-menu-item class not being applied on nav menu state

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Sep 25 15:38:08 UTC 2011


#3621: current-menu-item class not being applied on nav menu state
----------------------+------------------------------
 Reporter:  DoctorDR  |       Owner:  Steve Davies
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:  Awaiting Review
Component:  Core      |     Version:  1.5
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+------------------------------

Comment (by DJPaul):

 I think this appears to occur for any BP component mapped to a custom
 page, when used with custom nav menus. We might consider setting
 $wp_query->is_singular=true in bp_core_load_template() -- it seems to
 correct the issue but I'm not sure why we don't need to do this for our
 "default" pages (e.g. "groups", "members" and the other defaults we
 create).

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


More information about the buddypress-trac mailing list