public function test_both_strings() { $this->assertFalse(is_same_size_format('22', '22')); }
if ($file->isDir() && Site_Size::is_site_size_being_calculated()) { ?> <span class="spinner is-active"></span> <?php } else { $size = $site_size->filesize($file); if (false !== $size) { $size = $size ?: '0'; $excluded_size = $excluded_site_size->filesize($file) ?: '0'; ?> <code> <?php if ($file->isDir()) { $excluded_size = is_same_size_format($size, $excluded_size) ? (int) size_format($excluded_size) : size_format($excluded_size); /* translators: 1: Excluded size 2: Overall site size */ printf(esc_html__('%1$s of %2$s', 'backupwordpress'), esc_html($excluded_size), esc_html(size_format($size))); } elseif (!$is_unreadable) { echo esc_html(size_format($size)); } else { echo '-'; } ?> </code> <?php } else { ?>