Skip to content

Instantly share code, notes, and snippets.

@rickrduncan
Created July 20, 2013 11:35
Show Gist options
  • Save rickrduncan/6044727 to your computer and use it in GitHub Desktop.
Save rickrduncan/6044727 to your computer and use it in GitHub Desktop.
<?php
//-> Do NOT include the opening php tag
// Login Screen: Don't inform user which piece of credential was incorrect
add_filter ( 'login_errors', 'rvam_failed_login' );
function rvam_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