The Attempt to auto-locate the User Setting is Ignored

It happens in rare cases that the selected option for the ‘Attempt to auto-locate the user’ setting is ignored ( probably due to caching somewhere ).

To fix this you can overwrite it with a few lines of code that have to be placed in the functions.php inside your active theme folder.

To disable it use this code.

To enable it use this code.