[buddypress-trac] [BuddyPress Trac] #5714: Profile group tab displays when there's only one tab

buddypress-trac noreply at wordpress.org
Wed Jul 23 21:54:55 UTC 2014

#5714: Profile group tab displays when there's only one tab
 Reporter:  jreeve                |       Owner:
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  2.1
Component:  Theme                 |     Version:
 Severity:  minor                 |  Resolution:
 Keywords:  needs-docs has-patch  |
Changes (by imath):

 * keywords:  needs-docs => needs-docs has-patch


 Replying to [comment:5 boonebgorges]:
 > Write a docblock for that new function and ship it ;)
 I was about to, but made an ultimate check and actually applying 5714.02
 patch is not showing the group tabs at all even if there are more than
 The problem in [https://github.com/cuny-academic-commons/cbox-
 theme/commit/5997ce3 cbox github commit] is that inside a profile loop
 where the group_profile_id is set, the $profile_template->groups_count
 will always be 1. Sorry i haven't figured out this earlier :(

 So i improved a bit the semantic in my initial patch to build
 5714.03.patch. It's less elegant than 5714.02, but it does the job. What
 do you think ?

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

More information about the buddypress-trac mailing list