Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/02/2015 01:01:03 AM (5 years ago)
Author:
boonebgorges
Message:

Allow group avatars to be disabled.

Props xgz, boonebgorges, imath, hnla.
Fixes #4677.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-template.php

    r9824 r9828  
    16071607        switch ( $activities_template->activity->component ) {
    16081608            case 'groups' :
     1609                if ( bp_disable_group_avatar_uploads() ) {
     1610                    return false;
     1611                }
     1612
    16091613                $object  = 'group';
    16101614                $item_id = $activities_template->activity->item_id;
Note: See TracChangeset for help on using the changeset viewer.