I believe I found an error and it looks like the problem is in your code (load.php).
$block_ip = false;
if ($this->opt('blocked_ips') || ($this->opt('trust_network'))) {
$rules = get_option('trust_network_rules');
$banned_ips = array_merge(explode(',', $this->opt('blocked_ips')), explode(',', $rules['ip']));
....
Here you can see that it would read and block IPs from trust_network_rules even when it’s disabled in case there is an IP added manually to blocked_ips field. This was my case. I think it should check $this->opt(‘trust_network’) again before reading from ‘trust_network_rules’.
-
This reply was modified 7 years, 2 months ago by
eGene.