Custom error message – plugin doesn’t work
-
When I use a custom error message using a function, blocking doesn’t work. In the log there is an entry Your IP address is temporarily blocked, but access works.
Function (function.php):
function no_wordpress_errors(){ return 'Custom message'; } add_filter( 'login_errors', 'no_wordpress_errors' ); remove_action('wp_head', 'wp_generator');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom error message – plugin doesn’t work’ is closed to new replies.