[wp-trac] [WordPress Trac] #46707: Site health: notify the user while gathering site data
WordPress Trac
noreply at wordpress.org
Fri Apr 12 22:43:13 UTC 2019
#46707: Site health: notify the user while gathering site data
-------------------------------------------------+-------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: site-health has-patch needs-testing | Focuses: ui,
| performance
-------------------------------------------------+-------------------------
Comment (by azaozz):
In 46707.3.diff:
- Changed `recurse_dirsize()` to accept an array of excluded paths.
- Changed so we don't calculate the sizes of dirs in wp-content twice.
- Added the size in bytes to the "debug" into.
Now the sizes in the copied "site info" look like this:
{{{
### wp-paths-sizes ###
uploads_path: WordPress/content/uploads/
uploads_size: 681.68 MB (714788586 bytes)
themes_path: WordPress/content/themes/
current_theme_path: WordPress/content/themes/twentyseventeen
themes_size: 8.90 MB (9333971 bytes)
plugins_path: WordPress/content/plugins/
plugins_size: 823.28 MB (863271905 bytes)
wordpress_path: WordPress/trunk1/build/
wordpress_size: 50.27 MB (52716749 bytes)
database_size: 25.96 MB (27218602 bytes)
total_size: 1.55 GB (1667329813 bytes)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46707#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list