Code Duplication    Length = 4-4 lines in 2 locations

functions.php 2 locations

@@ 828-831 (lines=4) @@
825
    if ($bytes >= 1099511627776) {
826
        $return = number_format($bytes / 1024 / 1024 / 1024 / 1024, 2);
827
        $suffix = _XHELP_SIZE_TB;
828
    } elseif ($bytes >= 1073741824) {
829
        $return = number_format($bytes / 1024 / 1024 / 1024, 2);
830
        $suffix = _XHELP_SIZE_GB;
831
    } elseif ($bytes >= 1048576) {
832
        $return = number_format($bytes / 1024 / 1024, 2);
833
        $suffix = _XHELP_SIZE_MB;
834
    } elseif ($bytes >= 1024) {
@@ 834-837 (lines=4) @@
831
    } elseif ($bytes >= 1048576) {
832
        $return = number_format($bytes / 1024 / 1024, 2);
833
        $suffix = _XHELP_SIZE_MB;
834
    } elseif ($bytes >= 1024) {
835
        $return = number_format($bytes / 1024, 2);
836
        $suffix = _XHELP_SIZE_KB;
837
    } else {
838
        $return = $bytes;
839
        $suffix = _XHELP_SIZE_BYTES;
840
    }