[wp-trac] [WordPress Trac] #43162: Deleting a site from a multisite network leaves orphaned database tables and files
WordPress Trac
noreply at wordpress.org
Wed May 17 13:39:13 UTC 2023
#43162: Deleting a site from a multisite network leaves orphaned database tables
and files
-------------------------------------------------+-------------------------
Reporter: bluep92877 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.3
Component: Networks and Sites | Version: 3.0
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-testing has-patch | Focuses: multisite
has-unit-tests |
-------------------------------------------------+-------------------------
Comment (by carl-alberto):
Patch would be using the Filesystem API to delete the associated folder
related to the subsite being deleted, deletes all the related tables for
that subsite and it also contains the unit test. Hopefully I did it
correctly :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43162#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list