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.

add_filter( 'wpsl_js_settings', 'custom_js_settings' );

function custom_js_settings( $settings ) {

    $settings['autoLocate'] = false;

    return $settings;
}

To enable it use this code.

add_filter( 'wpsl_js_settings', 'custom_js_settings' );

function custom_js_settings( $settings ) {

    $settings['autoLocate'] = true;

    return $settings;
}