Changeset 45221
- Timestamp:
- 04/17/2019 12:44:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r45220 r45221 393 393 394 394 $info['wp-paths-sizes']['fields'] = array( 395 'wordpress_path' 395 'wordpress_path' => array( 396 396 'label' => __( 'WordPress directory location' ), 397 397 'value' => untrailingslashit( ABSPATH ), 398 398 ), 399 'wordpress_size' 399 'wordpress_size' => array( 400 400 'label' => __( 'WordPress directory size' ), 401 401 'value' => $not_calculated, 402 402 'debug' => 'not calculated', 403 403 ), 404 'uploads_path' 404 'uploads_path' => array( 405 405 'label' => __( 'Uploads directory location' ), 406 406 'value' => $upload_dir['basedir'], 407 407 ), 408 'uploads_size' 408 'uploads_size' => array( 409 409 'label' => __( 'Uploads directory size' ), 410 410 'value' => $not_calculated, 411 411 'debug' => 'not calculated', 412 412 ), 413 'themes_path' 413 'themes_path' => array( 414 414 'label' => __( 'Themes directory location' ), 415 415 'value' => get_theme_root(), 416 416 ), 417 'themes_size' 417 'themes_size' => array( 418 418 'label' => __( 'Themes directory size' ), 419 419 'value' => $not_calculated, 420 420 'debug' => 'not calculated', 421 421 ), 422 'plugins_path' 422 'plugins_path' => array( 423 423 'label' => __( 'Plugins directory location' ), 424 424 'value' => WP_PLUGIN_DIR, 425 425 ), 426 'plugins_size' 426 'plugins_size' => array( 427 427 'label' => __( 'Plugins directory size' ), 428 428 'value' => $not_calculated, 429 429 'debug' => 'not calculated', 430 430 ), 431 'database_size' 431 'database_size' => array( 432 432 'label' => __( 'Database size' ), 433 433 'value' => $not_calculated, 434 434 'debug' => 'not calculated', 435 435 ), 436 'total_size' 436 'total_size' => array( 437 437 'label' => __( 'Total installation size' ), 438 438 'value' => $not_calculated, … … 1212 1212 1213 1213 if ( null !== $size_total && $size_db > 0 ) { 1214 $total_size = $size_total + $size_db;1214 $total_size = $size_total + $size_db; 1215 1215 $total_size_mb = size_format( $total_size, 2 ); 1216 1216
Note: See TracChangeset
for help on using the changeset viewer.