[wp-trac] [WordPress Trac] #64445: Expose disk size for each installed plugin
WordPress Trac
noreply at wordpress.org
Tue Dec 23 18:53:30 UTC 2025
#64445: Expose disk size for each installed plugin
-------------------------------------------------+-------------------------
Reporter: maulikmakwana2008 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Site Health | Version: trunk
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-testing has-patch | Focuses: ui
-------------------------------------------------+-------------------------
Changes (by maulikmakwana2008):
* keywords: needs-patch 2nd-opinion => 2nd-opinion needs-testing has-patch
* version: => trunk
Comment:
@westonruter
Patch attached.
This patch extends Site Health → Info → Directories and Sizes to expose
disk usage for each individual installed plugin.
It reuses existing filesystem logic via WP_Filesystem_Direct::dirsize(),
consistent with how core already calculates directory sizes, and adds
a new “Plugins (individual)” entry to the Site Health debug data.
The calculation runs only when viewing Site Health Info and does not
impact normal admin or front-end requests. No UI changes are introduced,
and no new public APIs are added.
Feedback welcome.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64445#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list