- Timestamp:
- 05/24/2016 02:45:08 PM (10 years ago)
- Location:
- branches/2.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/bp-core/classes/class-bp-attachment-avatar.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5
-
branches/2.5/src/bp-core/classes/class-bp-attachment-avatar.php
r10417 r10801 293 293 } 294 294 295 $args['dst_file'] = $avatar_folder_dir . '/' . wp_hash( $absolute_path . time() ) . '-bp' . $key_type . '.' . $ext; 295 $filename = wp_unique_filename( $avatar_folder_dir, uniqid() . "-bp{$key_type}.{$ext}" ); 296 $args['dst_file'] = $avatar_folder_dir . '/' . $filename; 296 297 297 298 $avatar_types[ $key_type ] = parent::crop( $args );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)