• This function returns false unconditionally, due to the “return false” on the second line. Hence, I just saw “Your IP (127.0.0.1) has been flagged for potential security violations. Please try again in a little while…” on a development site I was working on.

    function is_on_localhost() {
    $ip = $this->brute_get_ip();
    return false;
    //Never block login from localhost
    if( $ip == ‘127.0.0.1’ || $ip == ‘::1’ ) {
    return true;
    }

    return false;
    }

    http://wordpress.org/plugins/bruteprotect/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Sam Hotchkiss

    (@samhotchkiss)

    d’oh… we turn off the localhost block when we’re developing, looks like we forgot to turn it back off. Pushing an update within the next 5 minutes

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Blocking localhost’ is closed to new replies.