Automatic repair of plugin-created tables
|Reported by:||neoxx||Owned by:||nacin|
I've just noticed that additional tables that are created by plugins are not included in the new automatic repair procedure because of the following code in /wp-admin/maint/repair.php.
// Loop over the WP tables, checking and repairing as needed. foreach ($wpdb->tables as $table)
What do you think about changing the loop to include all tables which adhere to the $wpdb->prefix syntax (see attached patch)? Imho, if an author follows all the instructions of the tutorial 'Creating Tables with Plugins' http://codex.wordpress.org/Creating_Tables_with_Plugins he/she should also benefit from this new functionality.
Change History (9)
- Keywords needs-patch added; plugins repair db has-patch removed
- Owner changed from westi to nacin
- Status changed from new to reviewing