Last active
February 14, 2017 16:05
-
-
Save fueledbyboredom/028f708da77a07076815b1cd8cd81a7d to your computer and use it in GitHub Desktop.
Obscure WordPress Login 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
<?php | |
function mwpf_login_obscure(){ return '<strong>Sorry</strong>: Think you have gone wrong somwhere!';} | |
add_filter( 'login_errors', 'mwpf_login_obscure' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment