Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 682 Bytes

WP_FAIL2BAN_EX_WAF_UPDATE_OPTION.rst

File metadata and controls

25 lines (17 loc) · 682 Bytes

WP_FAIL2BAN_EX_WAF_UPDATE_OPTION

Check that current user may update core WordPress options.

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.

/**
 * WAF: check caps for update_option().
 */
define('WP_FAIL2BAN_EX_WAF_UPDATE_OPTION', true);