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

WordPress Trac noreply at wordpress.org
Wed Jan 14 04:48:16 UTC 2026


#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:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests 2nd-      |     Focuses:
  opinion                                        |  administration
-------------------------------------------------+-------------------------

Comment (by huzaifaalmesbah):

 == Test Report & Feedback

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/64424/64424-plugin-
 editor-download.patch

 === Feature Description

 This patch adds a “Download Plugin” button to the Plugin File Editor,
 allowing users to download the active plugin directly from the editor
 screen.

 === Steps to Reproduce or Test
 1. Navigate to Tools in the WordPress admin dashboard.
 2. Open Plugin File Editor.
 3. Observe that the Download Plugin button is not displayed before
 applying the patch.

 === Expected Results
 - ✅ A Download Plugin button should be visible in the Plugin File Editor.
 - ✅ Users should be able to download the selected plugin as a ZIP file.


 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.29
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 143.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 ==== Actual Results
 Before applying the patch
 - ❌ The Download Plugin button was not available in the Plugin File
 Editor.

 After applying the patch
 - ✅ The Download Plugin button is now displayed correctly.
 - ✅ The feature works as expected and allows downloading the plugin.

 === Additional Issue: Plugin Download Filename Format

 When clicking the Download Plugin button, the downloaded ZIP file name
 appears as:

 - ❌ Test-Reports.zip

 This uses a title-style / CamelCase format.

 === Expected / Suggested Behavior
 - ✅ Use the plugin slug format for the downloaded file name, for example:
   - test-reports.zip

 This would better align with WordPress plugin directory conventions,
 improve consistency, and avoid potential case-sensitivity issues.


 === UI / UX Suggestion

 Currently, the **Download Plugin** button appears in a separate row from
 the **Update File** button.

 From a UI/UX perspective, it may be cleaner and more intuitive to place
 both **Update File** and **Download Plugin** actions on the same row, as
 they are closely related actions. Grouping them together could improve
 visual consistency, reduce vertical spacing, and make related actions
 easier to discover.

 === Screenshots
 [[Image(https://i.ibb.co.com/rRr5DHk0/Huzaifa-20260114104435.png)]]

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


More information about the wp-trac mailing list