[buddypress-trac] [BuddyPress Trac] #6746: Avatar filename could generate: "There was a problem cropping your avatar"
buddypress-trac
noreply at wordpress.org
Sat Nov 21 15:02:14 UTC 2015
#6746: Avatar filename could generate: "There was a problem cropping your avatar"
---------------------------+------------------
Reporter: SGr33n | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.5
Component: API - Avatars | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
---------------------------+------------------
Changes (by imath):
* keywords: => needs-patch
* milestone: Awaiting Review => 2.5
Comment:
That's probably due to the fact we need to remove the previously uploaded
avatar when cropping. We are using `bp_core_delete_existing_avatar()` to
do so which is removing files containing -bpthumb & -bpfull into their
name. A possible way to fix this is to rename (stripping from its name
-bpthumb & -bpfull) the file during the upload.
It's not something that happened since 2.4, so i think we can work on it
for 2.5.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6746#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list