Opened 13 years ago
Closed 11 years ago
#19375 closed defect (bug) (duplicate)
Make BLOG_ID folder deleted on site-deletion
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Multisite | Keywords: | has-patch |
Focuses: | Cc: |
Description
It would be appreciated that the BLOG_ID folder get deleted on site-deletion, in the future..
My reference is the discussion at,
http://wordpress.org/support/topic/wpmu_delete_blog-not-deleting-blogsdir-folder
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
For removing the entire blog.dir/[id]/ folder, Ipstenu covered it pretty well in the referenced support thread. It's intended behavior.
I did find a problem in deleting folders on WAMP, though. The directory handles from
opendir
are not closed and this causes a problem when the directories are removed withrmdir
. The warnings are suppressed with @, so it doesn't show up anywhere, just left over YYYY/MM folders.