PHPCS: Fix WPCS violations in [45220].

See #46707.
Built from https://develop.svn.wordpress.org/trunk@45221


git-svn-id: http://core.svn.wordpress.org/trunk@45030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-04-17 00:45:50 +00:00
parent 9a316c6ea4
commit 6ad0bf33ec
2 changed files with 12 additions and 12 deletions

View File

@ -392,48 +392,48 @@ class WP_Debug_Data {
$not_calculated = __( 'Not calculated' );
$info['wp-paths-sizes']['fields'] = array(
'wordpress_path' => array(
'wordpress_path' => array(
'label' => __( 'WordPress directory location' ),
'value' => untrailingslashit( ABSPATH ),
),
'wordpress_size' => array(
'wordpress_size' => array(
'label' => __( 'WordPress directory size' ),
'value' => $not_calculated,
'debug' => 'not calculated',
),
'uploads_path' => array(
'uploads_path' => array(
'label' => __( 'Uploads directory location' ),
'value' => $upload_dir['basedir'],
),
'uploads_size' => array(
'uploads_size' => array(
'label' => __( 'Uploads directory size' ),
'value' => $not_calculated,
'debug' => 'not calculated',
),
'themes_path' => array(
'themes_path' => array(
'label' => __( 'Themes directory location' ),
'value' => get_theme_root(),
),
'themes_size' => array(
'themes_size' => array(
'label' => __( 'Themes directory size' ),
'value' => $not_calculated,
'debug' => 'not calculated',
),
'plugins_path' => array(
'plugins_path' => array(
'label' => __( 'Plugins directory location' ),
'value' => WP_PLUGIN_DIR,
),
'plugins_size' => array(
'plugins_size' => array(
'label' => __( 'Plugins directory size' ),
'value' => $not_calculated,
'debug' => 'not calculated',
),
'database_size' => array(
'database_size' => array(
'label' => __( 'Database size' ),
'value' => $not_calculated,
'debug' => 'not calculated',
),
'total_size' => array(
'total_size' => array(
'label' => __( 'Total installation size' ),
'value' => $not_calculated,
'debug' => 'not calculated',
@ -1211,7 +1211,7 @@ class WP_Debug_Data {
}
if ( null !== $size_total && $size_db > 0 ) {
$total_size = $size_total + $size_db;
$total_size = $size_total + $size_db;
$total_size_mb = size_format( $total_size, 2 );
$all_sizes['total_size'] = array(

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-beta3-45220';
$wp_version = '5.2-beta3-45221';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.