[wp-trac] [WordPress Trac] #46707: Site health: notify the user while gathering site data
WordPress Trac
noreply at wordpress.org
Mon Apr 15 23:19:44 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,
needs-design-feedback | performance
-------------------------------------------------+-------------------------
Comment (by azaozz):
In 46707.4.diff:
- Add a custom DOM event after the dir sizes request is done. Can be used
by plugins to "daisy-chain" more requests.
- Move "WordPress directory location" at the top as it is the parent dir.
- Rename "WordPress directory size" to "WordPress size" as it better
describes that value. The uploads, themes and plugins directories may be
outside ABSPATH.
- Fix the labels capitalization. All other labels weren't capitalized,
just some of the "sizes" labels.
With this patch the copied site info is:
{{{
### wp-paths-sizes ###
wordpress_path: WordPress\trunk1\build
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: 131.26 MB (137640114 bytes)
wordpress_size: 872.12 MB (914485075 bytes)
database_size: 25.96 MB (27219046 bytes)
total_size: 898.08 MB (941704121 bytes)
}}}
(Note that in this case the plugins, themes and uploads dirs are outside
of the WP root dir).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46707#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list