Skip to:
Content

BuddyPress.org

Ticket #7131: 7131.patch

File 7131.patch, 523 bytes (added by imath, 9 years ago)
  • src/bp-groups/classes/class-bp-group-extension.php

    diff --git src/bp-groups/classes/class-bp-group-extension.php src/bp-groups/classes/class-bp-group-extension.php
    index c0ae5df..d6cf777 100644
    class BP_Group_Extension { 
    763763                }
    764764
    765765                // Hook the group home widget.
    766                 if ( ! bp_current_action() && bp_is_current_action( 'home' ) ) {
     766                if ( bp_is_group_home() ) {
    767767                        add_action( $this->display_hook, array( &$this, 'widget_display' ) );
    768768                }
    769769        }