Skip to content

v2.0.3 - Table Case Sensitivity Fix

Choose a tag to compare

@pimschaaf pimschaaf released this 30 Oct 08:01
· 3 commits to main since this release

What's Changed

Bug Fix: Fixed table name case sensitivity issue that caused "Table 'wp_wfConfig' doesn't exist" errors on systems using lowercase table names.

Changes

  • 🐛 Fixed table name case sensitivity for Wordfence configuration table
  • ✨ Now uses wfDB::networkTable() method to respect Wordfence's table naming convention
  • 📈 Improved compatibility with different MySQL/MariaDB case sensitivity configurations

Technical Details

The plugin was hardcoding the table name as $wpdb->prefix . 'wfConfig' (CamelCase), but Wordfence supports both CamelCase and lowercase table names depending on the database configuration. The fix replaces this with wfDB::networkTable('wfConfig'), which automatically detects and uses the correct case.

Files Changed

  • includes/class-wf-config-cli.php (2 locations)
  • includes/class-wf-brute-force-cli.php (1 location)

Full Changelog: v2.0.2...v2.0.3