Hi, can you specify where that error message is coming from? Which action are you taking to display that error message?
Thank you
Thread Starter
kallym
(@kallym)
When a user has a failed login attempt they they get a message that says “contact the administrator”. I need to change that to say “contact Joe Smith”, for example. Our registered users will know who Joe Smith is, but they won’t know who the “administrator” is.
So I am changing line 43 of classes/wp-security-user-login.php to be:
return new WP_Error('authentication_failed', __('<strong>ERROR</strong>: You have had more than 3 failed log in attempts and will be locked out for 4 hours or you may contact Joe Smith</a> to request an unlock.', 'aiowpsecurity'));
But, I don’t want to change the plugin file as it will be overwritten. Is there a way I can do this in my functions.php file?
Thank You!
Hi, thank you for sharing more information. The plugin developers will look at you request further.
Thank you