Skip to content

Instantly share code, notes, and snippets.

@spigists
Created June 10, 2013 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spigists/5752603 to your computer and use it in GitHub Desktop.
Save spigists/5752603 to your computer and use it in GitHub Desktop.
Obscure log in screen error messages
/**
* 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