Skip to:
Content

BuddyPress.org

Ticket #6526: 6526.01.patch

File 6526.01.patch, 607 bytes (added by dcavins, 9 years ago)
  • src/bp-groups/bp-groups-template.php

    diff --git src/bp-groups/bp-groups-template.php src/bp-groups/bp-groups-template.php
    index 854143c..583da8b 100644
    function bp_group_join_button( $group = false ) { 
    34333433                 * @since BuddyPress (1.2.6)
    34343434                 *
    34353435                 * @param string $button HTML button for joining a group.
     3436                 * @param object $group BuddyPress group object
    34363437                 */
    3437                 return bp_get_button( apply_filters( 'bp_get_group_join_button', $button ) );
     3438                return bp_get_button( apply_filters( 'bp_get_group_join_button', $button, $group ) );
    34383439        }
    34393440
    34403441/**