[buddypress-trac] [BuddyPress Trac] #7736: bp_get_groups_slug filter and Profile screen

buddypress-trac noreply at wordpress.org
Fri Mar 30 16:09:53 UTC 2018


#7736: bp_get_groups_slug filter and Profile screen
--------------------------+-----------------------------
 Reporter:  jozik         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 If we apply 'bp_get_groups_slug' filter, no groups are listed on
 Profile/Groups/Membership screen.
 Looks like BP fails to recognize current component so groups are not
 listed.

 Steps to reproduce

 1. Create BuddyPress Group and add yourself as member
 2. Add filter 'bp_get_groups_slug' to return altered slug (e.g. return
 "{$slug}_en")
 3. Visit /members/admin/groups_en/
 4. List is empty
 5. Disable filter
 6. Visit /members/admin/groups/
 7. Group is listed

 Is something else needed to make this work?

 WPML users asked to localize this string, so it could be a variable
 applied on frontend.
 Is there a better way to do it?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7736>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list