Opened 18 months ago

Last modified 16 months ago

#19375 new defect (bug)

Make BLOG_ID folder deleted on site-deletion

Reported by: momotombopuro Owned by:
Priority: normal Milestone: Awaiting Review
Component: Multisite Version: 3.0
Severity: normal Keywords: has-patch
Cc: kpayne@…

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)

19375.patch (888 bytes) - added by kurtpayne 18 months ago.

Download all attachments as: .zip

Change History (5)

  • Component changed from General to Multisite
  • Cc kpayne@… added
  • Keywords has-patch added
  • Version set to 3.0

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 with rmdir. The warnings are suppressed with @, so it doesn't show up anywhere, just left over YYYY/MM folders.

  • Version changed from 3.0 to 3.3.1

I get this problem and tried to patch but still continue.

  • Version changed from 3.3.1 to 3.0

The version field is used to indicate the first version in which a problem was identified in, or reproduced in.

Note: See TracTickets for help on using tickets.