[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
Thu Dec 20 21:19:49 UTC 2018


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

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 I looked at how other admin areas handle this. This is what I found:

 - Posts: reloads the page with `paged - 1` (new last page).
 - Categories: reloads the page with `paged - 1` (new last page).
 - Users: This flow is a bit different because there is a confirmation page
 in between. But, the user is always returned to the first page of users
 after deleting users.

 My vote is to keep things consistent with the other post and term areas in
 core and redirect the user to the new last page (`paged-1`).

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


More information about the wp-trac mailing list