From 6ad0bf33ec349cc089a9786c47965718a19107cc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 17 Apr 2019 00:45:50 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-debug-data.php | 22 +++++++++++----------- wp-includes/version.php | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index e1974773c8..dd2a2945dd 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -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( diff --git a/wp-includes/version.php b/wp-includes/version.php index 501dc84673..2317bf869b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.