1
News / Re: ZLC Has A New Website!
« on: January 01, 2021, 04:50:43 AM »Highly recommend you put code in place to stop the ridiculous default behaviour of WP saying 'the user name is wrong' if you try to guess it, it should just say 'something is wrong', otherwise hacker can know when they guessed user name correct and all they then need to do is try to crack pwd. If you email me I can supply the few lines of code needed.
Just realised you might not be able to email so here's the code snippet to drop into functions.php in your child theme or into, ideally, a plugin file with your dedicated code in. Any questions feel free to email (if you can :-|)
add_filter( 'login_errors', function( $error ) {
$error = "We're sorry but there was an error with your login credentials.";
return $error;
} );