Skip to content

Instantly share code, notes, and snippets.

@smonteverdi
Created March 7, 2012 15:41
Show Gist options
  • Save smonteverdi/1993865 to your computer and use it in GitHub Desktop.
Save smonteverdi/1993865 to your computer and use it in GitHub Desktop.
WordPress: Security mods
// Security checks
function wrong_login() {
return 'Wrong username or password.';
}
add_filter('login_errors', 'wrong_login');
function remove_version() {
return '';
}
add_filter('the_generator', 'remove_version');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment