diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php
index 54d638f6d8..ba9471edaf 100644
a
|
b
|
function display_space_usage() { |
249 | 249 | |
250 | 250 | $percent_used = ( $space_used / $space_allowed ) * 100; |
251 | 251 | |
252 | | if ( $space_allowed > 1000 ) { |
253 | | $space = number_format( $space_allowed / KB_IN_BYTES ); |
254 | | /* translators: Gigabytes */ |
255 | | $space .= __( 'GB' ); |
256 | | } else { |
257 | | $space = number_format( $space_allowed ); |
258 | | /* translators: Megabytes */ |
259 | | $space .= __( 'MB' ); |
260 | | } |
| 252 | $space = size_format( $space_allowed * MB_IN_BYTES ); |
261 | 253 | ?> |
262 | 254 | <strong> |
263 | 255 | <?php |