[buddypress-trac] [BuddyPress Trac] #5417: Avatar upload error mesage

buddypress-trac noreply at wordpress.org
Thu Feb 20 21:27:48 UTC 2014


#5417: Avatar upload error mesage
--------------------------+---------------------------
 Reporter:  stefwilliams  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  2.0
Component:  Avatars       |     Version:  1.9.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7943"]:
 {{{
 #!CommitTicketReference repository="" revision="7943"
 Sanity check before deleting old avatar files before cropping new ones

 Previously, if a user uploaded a new avatar file that had a name format
 like
 an existing BP avatar file, BP would accidentally wipe that file out
 before
 cropping. This would result in a failed crop, because the just-uploaded
 image
 would be gone. This changeset introduces a sanity check: only delete
 existing
 avatar files if the filename for those files is not the same as the
 uploaded
 file.

 Fixes #5417
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5417#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list