diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 4c90fc56f..9b646ff54 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1608,10 +1608,8 @@ function recurse_dirsize( $directory ) { $size += filesize($path); } elseif (is_dir($path)) { $handlesize = recurse_dirsize($path); - if ($handlesize >= 0) + if ($handlesize > 0) $size += $handlesize; - else - return false; } } }