Ticket #25500: 25500.3.diff
File 25500.3.diff, 687 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/maint/repair.php
38 38 if ( is_multisite() && ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->sitecategories'" ) ) 39 39 unset( $tables['sitecategories'] ); 40 40 41 /** 42 * Filter the array of tables. 43 * 44 * @since 3.0.0 45 * 46 * @param array $tables Array of table names to be repaired. 47 */ 41 48 $tables = array_merge( $tables, (array) apply_filters( 'tables_to_repair', array() ) ); // Return tables with table prefixes. 42 49 43 50 // Loop over the tables, checking and repairing as needed.