Make WordPress Core


Ignore:
Timestamp:
06/03/2024 04:54:31 PM (6 months ago)
Author:
audrasjb
Message:

Site Health: Add fonts upload location to Site Health report.

Just like Site Health lists the paths to the plugins/themes/uploads directories, this changeset adds the path to the fonts directory (and its size).

Props swissspidy, andr3ribeiro, krupajnanda, ironprogrammer, iamfarhan09, naeemhaque, imasikur22, tofajjal02, sarkarripon, prottoysarkar, zunaid321, imranhasanraaz, rajinsharwar, nazmul111, audrasjb, peterwilsoncc.
Fixes #60719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/site-health-info.php

    r56570 r58299  
    6565        <?php
    6666
    67         $sizes_fields = array( 'uploads_size', 'themes_size', 'plugins_size', 'wordpress_size', 'database_size', 'total_size' );
     67        $sizes_fields = array( 'uploads_size', 'themes_size', 'plugins_size', 'fonts_size', 'wordpress_size', 'database_size', 'total_size' );
    6868
    6969        foreach ( $info as $section => $details ) {
Note: See TracChangeset for help on using the changeset viewer.