Only part of the plugin caters for table prefixes other than wp_.
Function bubi_check_banned_ip should contain code something like:
$table_name = $wpdb->prefix . “bubi_table”;
$bubi_tables = $wpdb->get_results(“SELECT * FROM $table_name …..
otherwise it generates an error if the user has used a different prefix than wp_ in the table wp_bubi_table.
(Note this is covered in other functions but not the above example.
- The topic ‘[Plugin: Ban User By IP] Plugin doesn't allow for user choice of table prefix’ is closed to new replies.