From 46097dec3736f05235d047480996963af8622f23 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 11 May 2013 21:58:40 +0000 Subject: [PATCH] Pass blog_id to the wpmu_drop_tables filter. props mitchoyoshitaka. see #24320. git-svn-id: http://core.svn.wordpress.org/trunk@24245 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 840c4b436e..6f59dd6570 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -80,7 +80,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) { $drop = false; if ( $drop ) { - $drop_tables = apply_filters( 'wpmu_drop_tables', $wpdb->tables( 'blog' ) ); + $drop_tables = apply_filters( 'wpmu_drop_tables', $wpdb->tables( 'blog' ), $blog_id ); foreach ( (array) $drop_tables as $table ) { $wpdb->query( "DROP TABLE IF EXISTS `$table`" );