[wp-trac] [WordPress Trac] #64445: Add the plugin directory size to the plugin meta row on the Plugins screen (wp-admin/plugins.php) next to the Version information.
WordPress Trac
noreply at wordpress.org
Mon Dec 22 17:13:26 UTC 2025
#64445: Add the plugin directory size to the plugin meta row on the Plugins screen
(wp-admin/plugins.php) next to the Version information.
-------------------------------+-------------------------------------
Reporter: maulikmakwana2008 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords: has-patch needs-testing
Focuses: ui, performance |
-------------------------------+-------------------------------------
Currently, WordPress displays metadata such as **Version**, **Author**,
and **Details** below each plugin name on the Plugins screen. However,
there is no built-in way to view how much disk space an installed plugin
consumes.
This enhancement proposes displaying the **Plugin Size** inline with
existing metadata, improving transparency for administrators managing
storage, backups, and performance—especially on shared or limited hosting
environments.
**Current Output**
Version 5.6 | By Automattic – Anti-spam Team | View details
**Proposed Output**
Version 5.6 | Plugin Size 1.42 MB | By Automattic – Anti-spam Team | View
details
**Why This Belongs in Core**
- No UI clutter (uses existing plugin meta row)
- Helps identify large plugins quickly
- No frontend impact
- No database schema changes
- Uses existing WordPress hooks
- Avoids need for third-party plugins
**Technical Approach**
- Hook into **plugin_row_meta** to append plugin size
- Calculate size from the plugin’s directory
- Cache size using transients to prevent repeated filesystem scans
- Clear cache on plugin update or deletion
- Admin-only execution
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64445>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list