Created
March 7, 2012 15:41
-
-
Save smonteverdi/1993865 to your computer and use it in GitHub Desktop.
WordPress: Security mods
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
// 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