From 2a5c2a2cce7ead0c38170f561acd54754d8e60d3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 17 Apr 2019 21:26:52 +0000 Subject: [PATCH] Site health info tab: replace "Not calculated" with "Loading..." in the "Directories and Sizes" section (that's an existing string and wouldn't cause problems for translators). See #46707. Built from https://develop.svn.wordpress.org/trunk@45237 git-svn-id: http://core.svn.wordpress.org/trunk@45046 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-debug-data.php | 26 +++++++++++------------ wp-includes/version.php | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index fcad3894c4..f5e477589e 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -389,7 +389,7 @@ class WP_Debug_Data { ); } - $not_calculated = __( 'Not calculated' ); + $loading = __( 'Loading…' ); $info['wp-paths-sizes']['fields'] = array( 'wordpress_path' => array( @@ -398,8 +398,8 @@ class WP_Debug_Data { ), 'wordpress_size' => array( 'label' => __( 'WordPress directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'uploads_path' => array( 'label' => __( 'Uploads directory location' ), @@ -407,8 +407,8 @@ class WP_Debug_Data { ), 'uploads_size' => array( 'label' => __( 'Uploads directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'themes_path' => array( 'label' => __( 'Themes directory location' ), @@ -416,8 +416,8 @@ class WP_Debug_Data { ), 'themes_size' => array( 'label' => __( 'Themes directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'plugins_path' => array( 'label' => __( 'Plugins directory location' ), @@ -425,18 +425,18 @@ class WP_Debug_Data { ), 'plugins_size' => array( 'label' => __( 'Plugins directory size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'database_size' => array( 'label' => __( 'Database size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), 'total_size' => array( 'label' => __( 'Total installation size' ), - 'value' => $not_calculated, - 'debug' => 'not calculated', + 'value' => $loading, + 'debug' => 'loading...', ), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 2d945d3ad7..179bb5e7c7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta3-45236'; +$wp_version = '5.2-beta3-45237'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.