[wp-trac] [WordPress Trac] #19009: wpmu_delete_blog() can wipe out an entire network

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 20 00:10:45 UTC 2011


#19009: wpmu_delete_blog() can wipe out an entire network
--------------------------+------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Multisite     |     Version:  3.0
 Severity:  critical      |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by nacin):

 [attachment:19009.2.diff] keeps the wpmu_drop_tables filter. As commented
 above, it kicks $force to false if $blog_id == 1.

 Also, cruft like autosave_draft_ids and the blog_list site_option is
 canned.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19009#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list