Minor Bugfix
-
Sorry for posting this here, but this seems to be the easiest way to notify the team of the bug.
In
./src/component/security-tweaks/class-prevent-enum-users.phpthe methodmaybe_blockforces$requestas astring. The problem is that there are times whennullis passed instead, which creates a critical error.It seems to specifically happen inside the
shield_upmethod when the filterredirect_canonicalfires. I believe this can happen when URL parameters are used on a page that isn’t an actual WordPress page, such as when creating a URL usingadd_rewrite_endpointandadd_rewrite_rule. Simply allowingnullas a value fixes the issue.
The topic ‘Minor Bugfix’ is closed to new replies.