Changeset 10144
- Timestamp:
- 09/25/2015 06:16:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/src/bp-core/classes/class-bp-attachment-avatar.php
r9831 r10144 259 259 260 260 foreach ( $avatar_types as $key_type => $type ) { 261 $args['dst_w'] = bp_core_avatar_full_width(); 262 $args['dst_h'] = bp_core_avatar_full_height(); 261 if ( 'thumb' === $key_type ) { 262 $args['dst_w'] = bp_core_avatar_thumb_width(); 263 $args['dst_h'] = bp_core_avatar_thumb_height(); 264 } else { 265 $args['dst_w'] = bp_core_avatar_full_width(); 266 $args['dst_h'] = bp_core_avatar_full_height(); 267 } 268 263 269 $args['dst_file'] = $avatar_folder_dir . '/' . wp_hash( $absolute_path . time() ) . '-bp' . $key_type . '.' . $ext; 264 270
Note: See TracChangeset
for help on using the changeset viewer.