[wp-trac] [WordPress Trac] #26920: The 'wpmu_delete_blog' function deletes all main site's files
WordPress Trac
noreply at wordpress.org
Sat Feb 1 08:31:09 UTC 2014
#26920: The 'wpmu_delete_blog' function deletes all main site's files
--------------------------------+------------------------------
Reporter: npetetin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 3.8
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: multisite
--------------------------------+------------------------------
Comment (by jeremyfelt):
It looks like the discovery of the upload directory has always occurred
after the tables where dropped.
[https://mu.trac.wordpress.org/changeset/1069 mu:1069]
The use of `wp_upload_dir()` was added in [21823] when `ms-files.php` was
retired in #19235.
I can't see a problem in moving the capture of the uploads directory above
the deletion of the tables. That said, I haven't been able to reproduce
the issue either. I'm not sure how the option would be destroyed and not
available unless it was manually removed in a previous hook.
@npetetin is this a fresh 3.8.1 install or one that has been upgraded over
time? Can you provide steps to reproduce?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26920#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list