Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#6590 closed defect (bug) (fixed)

Duplicate ids in the BuddyPress uploader warnings

Reported by: imath Owned by: imath
Milestone: 2.4 Priority: normal
Severity: normal Version: 2.3.0
Component: Media Keywords: has-patch commit
Cc:

Description

The BuddyPress uploader is displaying warnings in case something went wrong while the upload process. As for the avatar we only upload one file at a time, i haven't figured out the problem. Working on the BP Attachments plugin revealed it.

The patch is making sure there's no duplicate ids and that all warnings are reset when a new upload starts.

Attachments (1)

6590.patch (1.9 KB) - added by imath 5 years ago.

Download all attachments as: .zip

Change History (5)

@imath
5 years ago

#1 @DJPaul
5 years ago

  • Keywords commit added

Looks good to me

#2 @imath
5 years ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 10049:

BuddyPress Uploader: avoid duplicate ids in warnings

The BuddyPress Uploader is displaying some warnings to inform the user when something went not great while trying to upload a file (eg: file is too big).
In case of multi uploads, we need to make sure these warnings are not using the same id, and to remove them all when a new upload starts.

Fixes #6590

#3 @imath
5 years ago

In 10050:

BuddyPress Uploader: add missing css rules for wp-admin/extended profile

See #6590

#4 @DJPaul
4 years ago

  • Component changed from API - Avatars to Media
Note: See TracTickets for help on using tickets.