WordPress.org

Make WordPress Core

Ticket #24320: 24320.diff

File 24320.diff, 518 bytes (added by mitchoyoshitaka, 11 months ago)

Trivial patch

  • wp-admin/includes/ms.php

     
    8080                $drop = false; 
    8181 
    8282        if ( $drop ) { 
    83                 $drop_tables = apply_filters( 'wpmu_drop_tables', $wpdb->tables( 'blog' ) ); 
     83                $drop_tables = apply_filters( 'wpmu_drop_tables', $wpdb->tables( 'blog' ), $blog_id ); 
    8484 
    8585                foreach ( (array) $drop_tables as $table ) { 
    8686                        $wpdb->query( "DROP TABLE IF EXISTS `$table`" );