Created
January 15, 2016 20:45
-
-
Save rickrduncan/87b851381fae7faf03a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag | |
//* Login Screen: Don't inform user which piece of credential was incorrect | |
add_filter ( 'login_errors', 'b3m_failed_login' ); | |
function b3m_failed_login () { | |
return 'The login information you have entered is incorrect. Please try again.'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment