Support Multisite?
-
Can you make the following changes so this plugin will support non-standard prefixes and multisite?
# diff delete-bad-behavior-log.php delete-bad-behavior-log.php.1 18d17 < global $wpdb; 21c20 < $truncate_query = "TRUNCATE TABLE " . $wpdb->prefix . "bad_behavior"; --- > $truncate_query = "TRUNCATE TABLE wp_bad_behavior"; 25c24 < $status_query = 'SHOW TABLE STATUS FROM '. DB_NAME.' WHERE NAME = \'' . $wpdb->prefix . 'bad_behavior\''; --- > $status_query = 'SHOW TABLE STATUS FROM '. DB_NAME.' WHERE NAME = \'wp_bad_behavior\''; 53c52 < <td><?php echo $wpdb->prefix; ?>bad_behavior</td> --- > <td>wp_bad_behavior</td>
https://www.ads-software.com/extend/plugins/delete-bad-behavior-log/
- The topic ‘Support Multisite?’ is closed to new replies.