• Resolved ferda2

    (@ferda2)


    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)
  • Thank you for getting in touch. I’ve tried your code on our test website but GuardGiant is working as expected for us.

    Perhaps there are other plugins or functions that might be having an effect? If possible, please could you try this on a clean install of WordPress to check that it’s working, and then gradually add other plugins to test?

    Thread Starter ferda2

    (@ferda2)

    Hi, your plugin doesn’t work with BBQ Firewall.

    Thanks very much for letting us know. We will take a look at this plugin and see if there is anything we can do to accomodate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom error message – plugin doesn’t work’ is closed to new replies.