[wp-trac] [WordPress Trac] #57890: Copy URL and Download Media List Table row actions don't appear when the "Unattached" filter is applied

WordPress Trac noreply at wordpress.org
Thu Mar 9 01:16:56 UTC 2023


#57890: Copy URL and Download Media List Table row actions don't appear when the
"Unattached" filter is applied
-------------------------------------+---------------------------------
 Reporter:  pbiron                   |       Owner:  pbiron
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Media                    |     Version:  6.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui, administration
-------------------------------------+---------------------------------

Comment (by pbiron):

 [https://github.com/WordPress/wordpress-develop/pull/4203 PR 4203] is
 similar to the one added by @kebbet.  It has 2 differences:

 1. it doesn't try to remove the redundancy of having the `View` row action
 specified twice (once when the `Unattached` filter is applied and once
 when any other filters are applied)
    * this maintains the existing order of the other row actions
    * we might want to consider in a future ticket trying to remove the
 redundancy of adding row actions in the `if ( $this->detached )` and
 `else` logic, but I don't think this ticket is the proper time to do that
 2. it displays the 'Download file' row action even when the `Trash` filter
 is applied...thus giving users one more chance to download the media file
 before they delete it

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


More information about the wp-trac mailing list