Changeset 10721 for trunk/src/bp-groups/bp-groups-template.php
- Timestamp:
- 04/27/2016 03:59:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-template.php
r10652 r10721 600 600 'class' => $r['class'], 601 601 'width' => $r['width'], 602 'height' => $r['height'] 602 'height' => $r['height'], 603 603 ) ); 604 604 … … 4706 4706 'id' => 'avatar-crop-preview', 4707 4707 'alt' => __( 'Group photo', 'buddypress' ), 4708 'no_grav' => false4709 4708 ), 'get_new_group_avatar' ); 4710 4709 … … 5149 5148 } 5150 5149 5151 $ group_avatar = bp_core_fetch_avatar(array(5150 $avatar_args = array( 5152 5151 'item_id' => $group_id, 5153 5152 'object' => 'group', 5154 5153 'no_grav' => true, 5155 5154 'html' => false, 5156 ) ); 5157 5158 if ( bp_core_avatar_default( 'local' ) === $group_avatar ) { 5155 'type' => 'thumb', 5156 ); 5157 5158 $group_avatar = bp_core_fetch_avatar( $avatar_args ); 5159 5160 if ( bp_core_avatar_default( 'local', $avatar_args ) === $group_avatar ) { 5159 5161 return false; 5160 5162 }
Note: See TracChangeset
for help on using the changeset viewer.