WP_FAIL2BAN_EX_WAF_SQLI_WORDPRESS

Enable SQL injection detection for WordPress core.

Default setting: disabled

Premium flavour only

Added in version 5.1.0.


Enables SQL injection detection for database queries made by WordPress core. This is a testing feature and should not be enabled in production without good reason.

Example: Enable WordPress core SQLi detection
/**
 * Enable SQL injection detection for WordPress core
 */
define('WP_FAIL2BAN_EX_WAF_SQLI_WORDPRESS', true);

Warning

Do not enable this in normal operation without good technical justification.