Skip to:
Content

BuddyPress.org

Changeset 9464


Ignore:
Timestamp:
02/09/2015 11:12:03 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Remove $_FILES check in bp_get_group_has_avatar(). This function is only used in 1 place, and has not interacted with avatar uploads since 1.1.0. Fixes #6203.

File:
1 edited

Legend:

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

    r9463 r9464  
    40694069    }
    40704070
    4071     // Todo - this looks like an overgeneral check
    4072     if ( ! empty( $_FILES ) ) {
    4073         return false;
    4074     }
    4075 
    40764071    $group_avatar = bp_core_fetch_avatar( array(
    40774072        'item_id' => $group_id,
Note: See TracChangeset for help on using the changeset viewer.