WP_FAIL2BAN_EX_WAF_UPDATE_OPTION

Enable capability checking for option updates.

Default setting: all

Premium flavour only


Checks updates to WordPress core options. Users need manage_options, or manage_network_options on multisite, to change a protected option. The global WAF state is separately disabled by default; this individual default applies when WAF is enabled or set to logging.

all

Protect all listed core options.

theme

Protect the same options, but allow recognised image-size changes during WordPress’s after_setup_theme lifecycle action.

disabled

Do not check option updates.

Example: Protect options while allowing theme setup
/**
 * Protect core options while allowing recognised theme setup changes.
 */
define('WP_FAIL2BAN_EX_WAF_UPDATE_OPTION', 'theme');

History

Added in version 5.1.0.