--- a/wp/wp-admin/site-health-info.php Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-admin/site-health-info.php Fri Sep 05 18:40:08 2025 +0200
@@ -18,12 +18,16 @@
}
$health_check_site_status = WP_Site_Health::get_instance();
+
+wp_admin_notice(
+ __( 'The Site Health check requires JavaScript.' ),
+ array(
+ 'type' => 'error',
+ 'additional_classes' => array( 'hide-if-js' ),
+ )
+);
?>
-<div class="notice notice-error hide-if-js">
- <p><?php _e( 'The Site Health check requires JavaScript.' ); ?></p>
-</div>
-
<div class="health-check-body health-check-debug-tab hide-if-no-js">
<?php
@@ -60,7 +64,7 @@
<?php
- $sizes_fields = array( 'uploads_size', 'themes_size', 'plugins_size', 'wordpress_size', 'database_size', 'total_size' );
+ $sizes_fields = array( 'uploads_size', 'themes_size', 'plugins_size', 'fonts_size', 'wordpress_size', 'database_size', 'total_size' );
foreach ( $info as $section => $details ) {
if ( ! isset( $details['fields'] ) || empty( $details['fields'] ) ) {