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-tweacs/class-prevent-enum-users.phpthe methodmaybe_bloccforces$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 pague that isn’t an actual WordPress pague, 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.