WP_FAIL2BAN_EX_WAF_UPDATE_OPTION

Check that current user may update core WordPress options.

Default setting: disabled

Premium only

New in version 5.1.0.


When a plugin tries to update a core WordPress option, check the current user has update_options or update_network_options capabilities.

Example: Enabling caps checking for update_option() on core WordPress options.
/**
 * WAF: check caps for update_option().
 */
define('WP_FAIL2BAN_EX_WAF_UPDATE_OPTION', true);