[wp-trac] [WordPress Trac] #39968: Media Library: deleting all items on the last page loses the pagination/navigation buttons and shows message

WordPress Trac noreply at wordpress.org
Mon Jul 14 13:41:44 UTC 2025


#39968: Media Library: deleting all items on the last page loses the
pagination/navigation buttons and shows message
-------------------------------------+-----------------------------
 Reporter:  donsony                  |       Owner:  antpb
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Media                    |     Version:  4.7.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-test-info  |     Focuses:  ui
-------------------------------------+-----------------------------

Comment (by kishanjasani):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/39968/39968.2.patch

 === Environment
 - WordPress: 6.8.1
 - PHP: 8.3.23
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 9.3.0 / Client: mysqlnd 8.3.23)
 - Browser: Chrome 138.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0
   * Theme Check 20231220

 === Actual Results
 1.  ✅ The user is redirected to the previous page after deletion of the
 last media item.

 === Supplemental Artifacts
 Before Patch: https://screenrec.com/share/z6Yp5GOeMF

 After Patch: https://screenrec.com/share/nt2lhX5YQK

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39968#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list