[buddypress-trac] [BuddyPress Trac] #7291: Inactive group nav on group type screen

buddypress-trac noreply at wordpress.org
Wed Oct 19 16:39:22 UTC 2016


#7291: Inactive group nav on group type screen
--------------------------+------------------
 Reporter:  danbp         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.7
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by boonebgorges):

 Thanks for your work here, gents.

 I agree that no-ajax is the best solution for the moment. We can try to
 improve things for 2.8.

 The member type directory is not working because, as @hnla notes, it
 doesn't have the 'type' body class. I think the fact that the group
 directory does have this type is a bit of a quirk: when viewing
 example.com/groups/type/foo, `bp_current_action()` is 'type', while when
 viewing example.com/members/type/foo, `bp_current_action()` is empty.
 Because BP adds the current action to the body class, it ends up being
 empty in the case of the members directory. It's not a great situation,
 but I've opted to manually add the 'type' body class to member type
 directories so that we can be consistent across components.

 @hnla @r-a-y if one of you is around, could I get a sanity check?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7291#comment:16>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list