Add missing closedir() to wpmu_delete_blog(). Props timfs. fixes #21780
git-svn-id: https://develop.svn.wordpress.org/trunk@21801 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
46f3985c39
commit
34320e9089
@ -111,6 +111,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) {
|
||||
else if ( @is_file( $dir . DIRECTORY_SEPARATOR . $file ) )
|
||||
@unlink( $dir . DIRECTORY_SEPARATOR . $file );
|
||||
}
|
||||
@closedir( $dh );
|
||||
}
|
||||
$index++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user