Skip to content

Commit f6a0b4e

Browse files
authored
Changed GB_IN_BYTES and TB_IN_BYTES to be defined correctly
Changed GB_IN_BYTES to be defined correctly in MB_IN_BYTES and TB_IN_BYTES to be defined correctly in GB_IN_BYTES
1 parent c2371a4 commit f6a0b4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DB_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,10 +725,10 @@ public function size( $args, $assoc_args ) {
725725
define( 'MB_IN_BYTES', 1024 * KB_IN_BYTES );
726726
}
727727
if ( ! defined( 'GB_IN_BYTES' ) ) {
728-
define( 'GB_IN_BYTES', 1024 * KB_IN_BYTES );
728+
define( 'GB_IN_BYTES', 1024 * MB_IN_BYTES );
729729
}
730730
if ( ! defined( 'TB_IN_BYTES' ) ) {
731-
define( 'TB_IN_BYTES', 1024 * KB_IN_BYTES );
731+
define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES );
732732
}
733733

734734
// Display the database size as a number.

0 commit comments

Comments
 (0)