[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
Mon Jun 26 18:22:07 UTC 2023


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

Comment (by kebbet):

 I have tested the patch, but can not say anything on tests. What I have
 tested looks and works correctly, as in removal of Download link and Copy-
 action when adding `add_filter( 'wp_get_attachment_url', '__return_false'
 );`. When patch is not applied, those links are still present.

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


More information about the wp-trac mailing list