[buddypress-trac] [BuddyPress Trac] #5533: BP_Group_Extension::display() should be passed the group_id

buddypress-trac noreply at wordpress.org
Thu Jul 31 16:03:52 UTC 2014

#5533: BP_Group_Extension::display() should be passed the group_id
 Reporter:  boonebgorges    |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  2.1
Component:  Groups          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  good-first-bug  |

Comment (by DJPaul):

 For anyone looking to work on this:

 * The first thing to do is update the function stub in the
 `BP_Group_Extension` class in bp-groups-classes.php with the new optional
 * Then check for/update any built-in implementations of this class (if
 there are any) that declare the `function display(` and add the optional
 * The `display()` method is called by the `_display_hook` method in this
 same class. Find out where this action is invoked from, and pass the Group
 ID to the action. And, clearly, you'll need to figure out the best way to
 get the Group ID, but finding where the method is called should help you
 figure out the best option.

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

More information about the buddypress-trac mailing list