diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-11-15 15:57:30 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-11-15 15:57:30 +0000 |
commit | 7b66afc57f8069eb4ca20585d492138addeba41c (patch) | |
tree | 2857ad7af74929d3a5e08c6c2de5b8bb121f29a9 | |
parent | 782d826bb3269069af600d579abf0ca420405f5c (diff) | |
download | wordpress-mu-7b66afc57f8069eb4ca20585d492138addeba41c.tar.gz wordpress-mu-7b66afc57f8069eb4ca20585d492138addeba41c.tar.xz wordpress-mu-7b66afc57f8069eb4ca20585d492138addeba41c.zip |
Add terms tables to drop_tables array, fixes #485
Added wpmu_drop_tables filter to add new tables
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1147 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r-- | wp-admin/includes/mu.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wp-admin/includes/mu.php b/wp-admin/includes/mu.php index ffcf163..b0b00af 100644 --- a/wp-admin/includes/mu.php +++ b/wp-admin/includes/mu.php @@ -53,8 +53,11 @@ function wpmu_delete_blog($blog_id, $drop = false) { $wpdb->base_prefix . $blog_id . "_post2cat", $wpdb->base_prefix . $blog_id . "_postmeta", $wpdb->base_prefix . $blog_id . "_posts", - $wpdb->base_prefix . $blog_id . "_referer_visitLog", - $wpdb->base_prefix . $blog_id . "_referer_blacklist" ); + $wpdb->base_prefix . $blog_id . "_terms", + $wpdb->base_prefix . $blog_id . "_term_taxonomy", + $wpdb->base_prefix . $blog_id . "_term_relationships" ); + + $drop_tables = apply_filters( 'wpmu_drop_tables', $drop_tables ); reset( $drop_tables ); foreach ( (array) $drop_tables as $drop_table) { |