[wp-trac] [WordPress Trac] #61057: Media Library not showing new uploads when filtering by date

WordPress Trac noreply at wordpress.org
Tue Apr 23 14:38:31 UTC 2024


#61057: Media Library not showing new uploads when filtering by date
--------------------------+-----------------------------
 Reporter:  vertisoft     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  6.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 === Description
 The issue can be reproduced in the media library, in grid mode. As soon as
 the value of the date filter is modified, new uploads will not be
 displayed in the grid until the user refreshes the page or modifies the
 date filter.

 This issue appears to be similar to:
 https://core.trac.wordpress.org/ticket/50025

 === Environment
 - WordPress: 6.5.3-alpha-58036
 - PHP: 8.2.18
 - Server: Apache
 - Database: mysqli (Server: 5.7.44 / Client: mysqlnd 8.2.18)
 - Browser: Chrome 124.0.0.0 (Windows 10/11)
 - Theme: Twenty Twenty-Four 1.1
 - MU-Plugins: Aucune activée
 - Plugins:
   * WordPress Beta Tester 3.5.5

 === Steps to Reproduce
 1. Use grid mode in Media Library
 2. Filter by a date (eg. April 2024)
 3. Toggle back to "All Dates"
 4. Upload a media by drag-and-dropping an image into the grid

 The new image will not appear in the grid unless I refresh the page or
 select the current date in the date filter (eg. April 2024)

 === Expected Results
 There should be some visual feedback when uploading the media. Normally,
 the image should appear in the grid, and it should display a loading bar
 while it is being uploaded.

 === Actual Results
 There is no visual feedback when uploading the media. The image does not
 appear in the grid at all, unless I refresh the page or filter the grid by
 the current date.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61057>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list