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
This commit is contained in:
parent
7ec74901d3
commit
2a5c2a2cce
|
@ -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...',
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue