[wp-trac] [WordPress Trac] #46954: Site Health: Hide "Directories and Sizes" for Multisite installations

WordPress Trac noreply at wordpress.org
Wed Apr 17 23:03:17 UTC 2019

#46954: Site Health: Hide "Directories and Sizes" for Multisite installations
 Reporter:  xkon              |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  5.2
Component:  Administration    |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  site-health has-  |     Focuses:  ui, administration, multisite
  patch                       |

Comment (by azaozz):

 Replying to [comment:5 desrosj]:
 > With that in mind, what if we made the following changes for the current
 > - Remove "Total installation size", "Database size", and "WordPress
 Directory Size" for all sites on multisite installs. These possess a high
 likelihood of being too large and the potential for causing "crashing".
 > - Hide the "Uploads Directory Size" on the primary site of a network to
 avoid calculating the upload directory sizes for every site, and the
 potential for "crashing".
 > - Do not calculate the Theme and Plugin directory sizes for all sites on
 a multisite install. These could be unwieldy for large multisite installs.
 > - Leave all other fields as is.

 I tend to agree with @xkon. Not really sure how valuable is to have the
 "WordPress directory location", "Themes directory location", and "Plugins
 directory location" in there. They are the same for the whole network and
 cannot be changed.

 > In the future, I think the following could be added/adjusted for
 > - Current site's allowed quota.
 > - Percentage or amount of quota used.

 Yes, sounds good. Even thinking we can try doing something like that if we
 have a chance.

 > - Site's maximum allowed file size.

 Is it possible to set that per-site? As far as I know it is a "global"
 setting for all sites. In that case not sure if it is "useful info" on
 per-site basis (can be seen and set on the network admin settings screen),
 but may be wrong :)

 > - A way for network administrators to request the sizes of removed
 elements above.
 > - A way for a network administrator to view "Network Health".

 Yes, we'll need to make this "multisite aware" in few other places.

 As we are very close to 5.2-RC thinking we should go with the existing
 patch and disable that whole section on multisite for now, then implement
 the "Uploads directory location" and "Uploads directory size" in another
 ticket. (As far as I see that will need some larger changes, including
 strings changes, etc.).

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

More information about the wp-trac mailing list