diff --git src/bp-core/classes/class-bp-attachment-avatar.php src/bp-core/classes/class-bp-attachment-avatar.php
index 1414a54..b36337a 100644
|
|
class BP_Attachment_Avatar extends BP_Attachment { |
239 | 239 | $avatar_types = array( 'full' => '', 'thumb' => '' ); |
240 | 240 | |
241 | 241 | foreach ( $avatar_types as $key_type => $type ) { |
242 | | $args['dst_w'] = bp_core_avatar_dimension( $key_type, 'width' ); |
243 | | $args['dst_h'] = bp_core_avatar_dimension( $key_type, 'height' ); |
| 242 | $args['dst_w'] = bp_core_avatar_full_width(); |
| 243 | $args['dst_h'] = bp_core_avatar_full_height(); |
244 | 244 | $args['dst_file'] = $avatar_folder_dir . '/' . wp_hash( $absolute_path . time() ) . '-bp' . $key_type . '.' . $ext; |
245 | 245 | |
246 | 246 | $avatar_types[ $key_type ] = parent::crop( $args ); |