Make WordPress Core

Changeset 45237


Ignore:
Timestamp:
04/17/2019 09:25:05 PM (7 years ago)
Author:
azaozz
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r45230 r45237  
    390390                }
    391391
    392                 $not_calculated = __( 'Not calculated' );
     392                $loading = __( 'Loading…' );
    393393
    394394                $info['wp-paths-sizes']['fields'] = array(
     
    399399                        'wordpress_size' => array(
    400400                                'label' => __( 'WordPress directory size' ),
    401                                 'value' => $not_calculated,
    402                                 'debug' => 'not calculated',
     401                                'value' => $loading,
     402                                'debug' => 'loading...',
    403403                        ),
    404404                        'uploads_path'   => array(
     
    408408                        'uploads_size'   => array(
    409409                                'label' => __( 'Uploads directory size' ),
    410                                 'value' => $not_calculated,
    411                                 'debug' => 'not calculated',
     410                                'value' => $loading,
     411                                'debug' => 'loading...',
    412412                        ),
    413413                        'themes_path'    => array(
     
    417417                        'themes_size'    => array(
    418418                                'label' => __( 'Themes directory size' ),
    419                                 'value' => $not_calculated,
    420                                 'debug' => 'not calculated',
     419                                'value' => $loading,
     420                                'debug' => 'loading...',
    421421                        ),
    422422                        'plugins_path'   => array(
     
    426426                        'plugins_size'   => array(
    427427                                'label' => __( 'Plugins directory size' ),
    428                                 'value' => $not_calculated,
    429                                 'debug' => 'not calculated',
     428                                'value' => $loading,
     429                                'debug' => 'loading...',
    430430                        ),
    431431                        'database_size'  => array(
    432432                                'label' => __( 'Database size' ),
    433                                 'value' => $not_calculated,
    434                                 'debug' => 'not calculated',
     433                                'value' => $loading,
     434                                'debug' => 'loading...',
    435435                        ),
    436436                        'total_size'     => array(
    437437                                'label' => __( 'Total installation size' ),
    438                                 'value' => $not_calculated,
    439                                 'debug' => 'not calculated',
     438                                'value' => $loading,
     439                                'debug' => 'loading...',
    440440                        ),
    441441                );
Note: See TracChangeset for help on using the changeset viewer.