Created
June 10, 2013 21:39
-
-
Save spigists/5752603 to your computer and use it in GitHub Desktop.
Obscure log in screen error messages
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
/** | |
* Obscure log in screen error messages | |
*/ | |
function wpfme_login_obscure(){ return '<strong>Oh no... </strong>It looks like the user name and password combination that you entered is wrong.';} | |
add_filter( 'login_errors', 'wpfme_login_obscure' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment