[wp-trac] [WordPress Trac] #64424: Add “Download” action for locally installed plugins in Plugins admin screen

WordPress Trac noreply at wordpress.org
Wed Dec 17 10:26:37 UTC 2025


#64424: Add “Download” action for locally installed plugins in Plugins admin screen
-----------------------------------+------------------------------
 Reporter:  iflairwebtechnologies  |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Plugins                |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch              |     Focuses:
-----------------------------------+------------------------------
Changes (by iflairwebtechnologies):

 * keywords:  needs-patch => has-patch


Comment:

 This patch adds a “Download” row action to the Plugins admin screen,
 allowing users with the `update_plugins` capability to download a ZIP
 of the locally installed plugin.

 The implementation:
 - Works for both directory-based and single-file plugins
 - Generates the ZIP from the local plugin source
 - Uses nonces and capability checks
 - Uses existing core ZIP utilities (PclZip)
 - Does not alter existing plugin activation, update, or deletion logic

 Feedback and suggestions are welcome.

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


More information about the wp-trac mailing list