WordPress.org

Make WordPress Core

#43337 closed defect (bug) (duplicate)

Media Grid Upload Bug

Reported by: rblythe Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.4
Component: Media Keywords:
Focuses: Cc:

Description

Ever since upgrading to 4.9.4, I've noticed a bug the media grid uploader. When adding a new media item, the new item placeholder (with progress bar) is inserted at the second to last media item. Then at the end of the upload, the item is correctly placed at the top of the list. For a user like me with hundreds of media items, it can seem like my upload has failed because I can't see the pending upload without scrolling down to the bottom of the list. Here's some screen shots from my dev site with no plugins activated.

New Uploads Appear at the second from last position:
https://image.ibb.co/mQiTo7/media_grid_bug_img1.jpg

During upload, an image that has completed uploading will be added to the first of the grid while maintaining it's orignal "pending upload" position:
https://image.ibb.co/fWnM87/media_grid_bug_img2.jpg

After all images have uploaded, the images are correctly placed at the top of the grid
https://image.ibb.co/dwOTo7/media_grid_bug_img3.jpg

Change History (1)

#1 @adamsilverstein
16 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @rblythe thanks for the detailed bug report and welcome to Trac!

This bug has already been reported and has a proposed fix in #42968. Could you please test out the patch there to see if this resolves your issue?

Thanks!

Note: See TracTickets for help on using tickets.