WordPress.org

Make WordPress Core

Changeset 12953


Ignore:
Timestamp:
02/04/2010 07:56:36 PM (11 years ago)
Author:
wpmuguru
Message:

close dir in recurse_dirsize(), props ddebernardy, fixes #11749

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r12952 r12953  
    16091609                } elseif (is_dir($path)) {
    16101610                    $handlesize = recurse_dirsize($path);
    1611                     if ($handlesize >= 0)
     1611                    if ($handlesize > 0)
    16121612                        $size += $handlesize;
    1613                     else
    1614                         return false;
    16151613                }
    16161614            }
Note: See TracChangeset for help on using the changeset viewer.