[wp-trac] [WordPress Trac] #43162: Deleting a site from a multisite network leaves orphaned database tables and files

WordPress Trac noreply at wordpress.org
Tue Jan 31 10:49:01 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:  Awaiting Review
Component:  Networks and Sites         |     Version:  3.0
 Severity:  normal                     |  Resolution:
 Keywords:  2nd-opinion needs-testing  |     Focuses:  multisite
---------------------------------------+------------------------------
Changes (by carl-alberto):

 * keywords:  2nd-opinion needs-testing has-patch => 2nd-opinion needs-
               testing


Comment:

 Found the function that is supposed to delete the database table as well
 as the uploads folder which seems not to be working anymore
 https://github.com/WordPress/wordpress-
 develop/blob/186abb264d6c97dc955ecc787f29c12be3ffb33c/src/wp-includes/ms-
 site.php#L828-L866

 to get this issue moving, opened up a PR to use the built in WP FS system
 functions

 https://github.com/WordPress/wordpress-develop/pull/3951

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43162#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list