As the title states, adding the following to wp-config.php
causes the admin dashboard to be a blank screen:
define('WP_FAIL2BAN_LOG_DISABLE_LAST', true);
Also, I can’t seem to find where it was described what this constant does, but I distinctly remember reading it. If it’s meant to be used, maybe the docs should be updated.
I’d also like to ask in what cases the above would be helpful. The thing I read (that I can’t find now) stated some esoteric environments.
I figured it out. It turns out that’s the wrong constant. The correct one is here, but it’s only linked to from this page, which is why it’s a little hard to find.
So to reiterate, the following is wrong:
define('WP_FAIL2BAN_LOG_DISABLE_LAST', true);
And the following is correct:
define('WP_FAIL2BAN_DISABLE_LAST_LOG', true);
1 Like
Yes, that’s the correct define - the other clearly got missed by a search/replace during development…
I’ve fixed that for the next release, and the coincidental bug which would indeed cause a blank dashboard.
Thanks for letting me know!