[wp-trac] [WordPress Trac] #57893: Remove the redundancy of adding row actions in `class-wp-media-list-table.php`

WordPress Trac noreply at wordpress.org
Sat Apr 22 06:48:37 UTC 2023


#57893: Remove the redundancy of adding row actions in `class-wp-media-list-
table.php`
-------------------------------------------------+-------------------------
 Reporter:  kebbet                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Media                                |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:  ui
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by kebbet):

 * keywords:  needs-patch => has-patch needs-testing has-testing-info


Comment:

 PR ready for review, if you have the time @SergeyBiryukov @pbiron

 To test:
 - test all filters in the media list view
 - test setting and unsetting media constants `EMPTY_TRASH_DAYS` and
 `MEDIA_TRASH`
 - make sure all row actions actually perform their action
 - extra: make sure `media_row_actions` works as expected.

 What has changed from current implementation in trunk
 - `Download` is shown in all filter views (even trash)
 - `Copy` is shown in all views except trash

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


More information about the wp-trac mailing list