[wp-trac] [WordPress Trac] #46707: Site health: notify the user while gathering site data

WordPress Trac noreply at wordpress.org
Mon Apr 15 20:10:22 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):

 > shouldn't the displayed wordpress_size: 50.27 MB be the sum of:
 wordpress_size + uploads_size + themes_size + plugins_size?

 Yeah, it is a bit unclear what is `wordpress_size`. We can certainly add
 up the dir sizes (when wp-content is at the default location) but then
 what is "total size" for? :)

 IMHO it is better as it is now. Separate the three dirs: plugins, themes,
 uploads, as they are the "variable size" (they may also be outside the WP
 install dir). Then have "the rest" a.k.a. `wordpress_size`, and then add
 it all up in "total size". That way it makes more sense when looking at
 the numbers too, otherwise the "total" looks wrong :)

 > I'd propose to remove the title attribute

 This is the most "subtle" way to inform the user about what's going on.
 Alternatively we can show it --somewhere-- and remove it when the ajax
 request completes, but... Where? :)

 As the wait time can be quite substantial, often more than 10 seconds,
 there should be some explanation on what's going on. We expect the users
 to wait, we need to tell them so in a nice way :)

Ticket URL: <https://core.trac.wordpress.org/ticket/46707#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list